public class MessageReplyRequest extends BaseRequest implements IMessageReplyRequest
Modifier and Type | Field and Description |
---|---|
protected MessageReplyBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
MessageReplyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this MessageReply
|
Modifier and Type | Method and Description |
---|---|
IMessageReplyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
java.lang.Void |
post() |
void |
post(ICallback<? super java.lang.Void> callback) |
IMessageReplyRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IMessageReplyRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
protected final MessageReplyBody body
public MessageReplyRequest(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<? super java.lang.Void> callback)
post
in interface IMessageReplyRequest
public java.lang.Void post() throws ClientException
post
in interface IMessageReplyRequest
ClientException
public IMessageReplyRequest select(java.lang.String value)
select
in interface IMessageReplyRequest
value
- the select clausepublic IMessageReplyRequest top(int value)
top
in interface IMessageReplyRequest
value
- the max number of items to returnpublic IMessageReplyRequest expand(java.lang.String value)
expand
in interface IMessageReplyRequest
value
- the expand clause