質問

I am using a RESTlet REST web service to deliver data via a GET to my iOS and Android apps. Occasionally I get errors with the connection on the app side. I put the url to the service in a browser to invoke a GET and see a response. I noticed that the contents of the service isn't delivered immediately but in chunks or a few lines at a time. The data type of the response is JSON.

Is there a way to get the entire response in one chunk when the service is invoked?

役に立ちましたか?

解決

call the ServerResource#setResponseEntityBuffering(true) method

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top