public static class OpenGraphObject.APIRequestUpdate extends APIRequest<OpenGraphObject>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>| Modifier and Type | Field and Description |
|---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint| Constructor and Description |
|---|
APIRequestUpdate(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestUpdate(String nodeId, APIContext context)
public OpenGraphObject getLastResponse()
getLastResponse in class APIRequest<OpenGraphObject>public OpenGraphObject parseResponse(String response) throws APIException
parseResponse in class APIRequest<OpenGraphObject>APIExceptionpublic OpenGraphObject execute() throws APIException
execute in class APIRequest<OpenGraphObject>APIExceptionpublic OpenGraphObject execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<OpenGraphObject>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<OpenGraphObject> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<OpenGraphObject> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic OpenGraphObject.APIRequestUpdate setParam(String param, Object value)
setParam in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestUpdate setParams(Map<String,Object> params)
setParams in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestUpdate setLocale(Object locale)
public OpenGraphObject.APIRequestUpdate setLocale(String locale)
public OpenGraphObject.APIRequestUpdate setObject(Object object)
public OpenGraphObject.APIRequestUpdate setObject(String object)
public OpenGraphObject.APIRequestUpdate setActionProperties(Object actionProperties)
public OpenGraphObject.APIRequestUpdate setActionProperties(String actionProperties)
public OpenGraphObject.APIRequestUpdate requestAllFields()
public OpenGraphObject.APIRequestUpdate requestAllFields(boolean value)
public OpenGraphObject.APIRequestUpdate requestFields(List<String> fields)
requestFields in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestUpdate requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestUpdate requestField(String field)
requestField in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestUpdate requestField(String field, boolean value)
requestField in class APIRequest<OpenGraphObject>Copyright © 2018. All rights reserved.