public static class PageChangeProposal.APIRequestUpdate extends APIRequest<PageChangeProposal>
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 PageChangeProposal getLastResponse()
getLastResponse in class APIRequest<PageChangeProposal>public PageChangeProposal parseResponse(String response) throws APIException
parseResponse in class APIRequest<PageChangeProposal>APIExceptionpublic PageChangeProposal execute() throws APIException
execute in class APIRequest<PageChangeProposal>APIExceptionpublic PageChangeProposal execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<PageChangeProposal>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<PageChangeProposal> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<PageChangeProposal> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic PageChangeProposal.APIRequestUpdate setParam(String param, Object value)
setParam in class APIRequest<PageChangeProposal>public PageChangeProposal.APIRequestUpdate setParams(Map<String,Object> params)
setParams in class APIRequest<PageChangeProposal>public PageChangeProposal.APIRequestUpdate setAccept(Boolean accept)
public PageChangeProposal.APIRequestUpdate setAccept(String accept)
public PageChangeProposal.APIRequestUpdate requestAllFields()
public PageChangeProposal.APIRequestUpdate requestAllFields(boolean value)
public PageChangeProposal.APIRequestUpdate requestFields(List<String> fields)
requestFields in class APIRequest<PageChangeProposal>public PageChangeProposal.APIRequestUpdate requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<PageChangeProposal>public PageChangeProposal.APIRequestUpdate requestField(String field)
requestField in class APIRequest<PageChangeProposal>public PageChangeProposal.APIRequestUpdate requestField(String field, boolean value)
requestField in class APIRequest<PageChangeProposal>Copyright © 2018. All rights reserved.