public static class OpenGraphObject.APIRequestCreateLike 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 |
|---|
APIRequestCreateLike(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestCreateLike(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.APIRequestCreateLike setParam(String param, Object value)
setParam in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestCreateLike setParams(Map<String,Object> params)
setParams in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestCreateLike setMessage(String message)
public OpenGraphObject.APIRequestCreateLike setUrl(String url)
public OpenGraphObject.APIRequestCreateLike setRef(String ref)
public OpenGraphObject.APIRequestCreateLike setAction(String action)
public OpenGraphObject.APIRequestCreateLike requestAllFields()
public OpenGraphObject.APIRequestCreateLike requestAllFields(boolean value)
public OpenGraphObject.APIRequestCreateLike requestFields(List<String> fields)
requestFields in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestCreateLike requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestCreateLike requestField(String field)
requestField in class APIRequest<OpenGraphObject>public OpenGraphObject.APIRequestCreateLike requestField(String field, boolean value)
requestField in class APIRequest<OpenGraphObject>Copyright © 2018. All rights reserved.