public class JSONReaderRequest extends NetworkRequest<android.util.JsonReader>
NetworkRequest.BodyLoader, NetworkRequest.InputStreamBodyLoaderACCEPT, CONTENT_TYPE| Constructor and Description |
|---|
JSONReaderRequest(java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
protected android.util.JsonReader |
parseResponse(java.io.InputStream stream)
JSONReaderRequest.disconnect() must be called after your are done with the response. |
cancel, execute, getConnection, getResponseCode, isCancelable, isCanceled, isExecuted, resetRequest, setBody, setBody, setBody, setBody, setBody, setBody, setMethod, toStringpublic JSONReaderRequest(java.lang.String url)
throws java.io.IOException
java.io.IOExceptionprotected android.util.JsonReader parseResponse(java.io.InputStream stream)
throws java.io.IOException
JSONReaderRequest.disconnect() must be called after your are done with the response.parseResponse in class NetworkRequest<android.util.JsonReader>java.io.IOExceptionpublic void disconnect()
disconnect in class NetworkRequest<android.util.JsonReader>