public class MessageCreateForwardRequest extends BaseRequest implements IMessageCreateForwardRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
MessageCreateForwardRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this MessageCreateForward
|
| Modifier and Type | Method and Description |
|---|---|
IMessageCreateForwardRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Message |
post()
Creates the MessageCreateForward
|
void |
post(ICallback<Message> callback)
Creates the MessageCreateForward
|
IMessageCreateForwardRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic MessageCreateForwardRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void post(ICallback<Message> callback)
post in interface IMessageCreateForwardRequestcallback - the callback to be called after success or failurepublic Message post() throws ClientException
post in interface IMessageCreateForwardRequestClientException - an exception occurs if there was an error while the request was sentpublic IMessageCreateForwardRequest select(java.lang.String value)
select in interface IMessageCreateForwardRequestvalue - the select clausepublic IMessageCreateForwardRequest expand(java.lang.String value)
expand in interface IMessageCreateForwardRequestvalue - the expand clause