public class VKJsonOperation extends VKHttpOperation<org.json.JSONObject>
| Modifier and Type | Class and Description |
|---|---|
static class |
VKJsonOperation.VKJSONOperationCompleteListener
Class representing operation listener for VKJsonOperation
|
VKAbstractOperation.VKAbstractCompleteListener<OperationType extends VKAbstractOperation,ResponseType>, VKAbstractOperation.VKOperationCompleteListener, VKAbstractOperation.VKOperationStatemLastException, response| Constructor and Description |
|---|
VKJsonOperation(VKHttpClient.VKHTTPRequest uriRequest)
Create new operation with request
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getResponseJson()
Generate JSON-response for current operation
|
org.json.JSONObject |
getResultObject() |
protected boolean |
postExecution()
Calls before providing result, but after response loads
|
cancel, finish, generateError, getResponseData, getResponseString, getUriRequest, setHttpOperationListener, startsetCompleteListener, setState, statepublic VKJsonOperation(VKHttpClient.VKHTTPRequest uriRequest)
uriRequest - Request prepared manually or with VKHttpClientpublic org.json.JSONObject getResponseJson()
protected boolean postExecution()
VKHttpOperationpostExecution in class VKHttpOperation<org.json.JSONObject>public org.json.JSONObject getResultObject()
getResultObject in class VKHttpOperation<org.json.JSONObject>