public class EndpointReferenceRequest extends BaseRequest implements IEndpointReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
EndpointReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Endpoint
|
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
delete() |
void |
delete(ICallback<? super Endpoint> callback) |
IEndpointReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Endpoint |
put(Endpoint srcEndpoint)
Puts the Endpoint
|
void |
put(Endpoint srcEndpoint,
ICallback<? super Endpoint> callback)
Puts the Endpoint
|
IEndpointReferenceRequest |
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, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic EndpointReferenceRequest(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 delete(ICallback<? super Endpoint> callback)
delete in interface IEndpointReferenceRequestpublic Endpoint delete() throws ClientException
delete in interface IEndpointReferenceRequestClientExceptionpublic IEndpointReferenceRequest select(java.lang.String value)
select in interface IEndpointReferenceRequestvalue - the select clausepublic IEndpointReferenceRequest expand(java.lang.String value)
expand in interface IEndpointReferenceRequestvalue - the expand clausepublic void put(Endpoint srcEndpoint, ICallback<? super Endpoint> callback)
put in interface IEndpointReferenceRequestsrcEndpoint - the Endpoint reference to PUTcallback - the callback to be called after success or failurepublic Endpoint put(Endpoint srcEndpoint) throws ClientException
put in interface IEndpointReferenceRequestsrcEndpoint - the Endpoint reference to PUTClientException - an exception occurs if there was an error while the request was sent