public class EventMessageResponseRequest extends BaseRequest implements IEventMessageResponseRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
EventMessageResponseRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the EventMessageResponse
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super EventMessageResponse> callback)
Delete this item from the service
|
IEventMessageResponseRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
EventMessageResponse |
get()
Gets the EventMessageResponse from the service
|
void |
get(ICallback<? super EventMessageResponse> callback)
Gets the EventMessageResponse from the service
|
EventMessageResponse |
patch(EventMessageResponse sourceEventMessageResponse)
Patches this EventMessageResponse with a source
|
void |
patch(EventMessageResponse sourceEventMessageResponse,
ICallback<? super EventMessageResponse> callback)
Patches this EventMessageResponse with a source
|
EventMessageResponse |
post(EventMessageResponse newEventMessageResponse)
Creates a EventMessageResponse with a new object
|
void |
post(EventMessageResponse newEventMessageResponse,
ICallback<? super EventMessageResponse> callback)
Creates a EventMessageResponse with a new object
|
EventMessageResponse |
put(EventMessageResponse newEventMessageResponse)
Creates a EventMessageResponse with a new object
|
void |
put(EventMessageResponse newEventMessageResponse,
ICallback<? super EventMessageResponse> callback)
Creates a EventMessageResponse with a new object
|
IEventMessageResponseRequest |
select(java.lang.String value)
Sets the select clause 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
public EventMessageResponseRequest(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 get(ICallback<? super EventMessageResponse> callback)
get
in interface IEventMessageResponseRequest
callback
- the callback to be called after success or failurepublic EventMessageResponse get() throws ClientException
get
in interface IEventMessageResponseRequest
ClientException
- this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super EventMessageResponse> callback)
delete
in interface IEventMessageResponseRequest
callback
- the callback when the deletion action has completedpublic void delete() throws ClientException
delete
in interface IEventMessageResponseRequest
ClientException
- if there was an exception during the delete operationpublic void patch(EventMessageResponse sourceEventMessageResponse, ICallback<? super EventMessageResponse> callback)
patch
in interface IEventMessageResponseRequest
sourceEventMessageResponse
- the source object with updatescallback
- the callback to be called after success or failurepublic EventMessageResponse patch(EventMessageResponse sourceEventMessageResponse) throws ClientException
patch
in interface IEventMessageResponseRequest
sourceEventMessageResponse
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonpublic void post(EventMessageResponse newEventMessageResponse, ICallback<? super EventMessageResponse> callback)
post
in interface IEventMessageResponseRequest
newEventMessageResponse
- the new object to createcallback
- the callback to be called after success or failurepublic EventMessageResponse post(EventMessageResponse newEventMessageResponse) throws ClientException
post
in interface IEventMessageResponseRequest
newEventMessageResponse
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonpublic void put(EventMessageResponse newEventMessageResponse, ICallback<? super EventMessageResponse> callback)
put
in interface IEventMessageResponseRequest
newEventMessageResponse
- the object to create/updatecallback
- the callback to be called after success or failurepublic EventMessageResponse put(EventMessageResponse newEventMessageResponse) throws ClientException
put
in interface IEventMessageResponseRequest
newEventMessageResponse
- the object to create/updateClientException
- this exception occurs if the request was unable to complete for any reasonpublic IEventMessageResponseRequest select(java.lang.String value)
select
in interface IEventMessageResponseRequest
value
- the select clausepublic IEventMessageResponseRequest expand(java.lang.String value)
expand
in interface IEventMessageResponseRequest
value
- the expand clause