public class MessageForwardRequest extends BaseRequest implements IMessageForwardRequest
Modifier and Type | Field and Description |
---|---|
protected MessageForwardBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
MessageForwardRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this MessageForward
|
Modifier and Type | Method and Description |
---|---|
IMessageForwardRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
java.lang.Void |
post() |
void |
post(ICallback<java.lang.Void> callback) |
IMessageForwardRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IMessageForwardRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getFunctionOptions, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, getUseCaches, send, send, setHttpMethod, setUseCaches
protected final MessageForwardBody body
public MessageForwardRequest(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<java.lang.Void> callback)
post
in interface IMessageForwardRequest
public java.lang.Void post() throws ClientException
post
in interface IMessageForwardRequest
ClientException
public IMessageForwardRequest select(java.lang.String value)
select
in interface IMessageForwardRequest
value
- the select clausepublic IMessageForwardRequest top(int value)
top
in interface IMessageForwardRequest
value
- the max number of items to returnpublic IMessageForwardRequest expand(java.lang.String value)
expand
in interface IMessageForwardRequest
value
- the expand clause