public class EndpointWithReferenceRequest extends BaseRequest implements IEndpointWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
EndpointWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Endpoint
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super Endpoint> callback) |
IEndpointWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Endpoint |
get() |
void |
get(ICallback<? super Endpoint> callback) |
Endpoint |
patch(Endpoint sourceEndpoint) |
void |
patch(Endpoint sourceEndpoint,
ICallback<? super Endpoint> callback) |
Endpoint |
post(Endpoint newEndpoint,
IJsonBackedObject payload) |
void |
post(Endpoint newEndpoint,
IJsonBackedObject payload,
ICallback<? super Endpoint> callback) |
IEndpointWithReferenceRequest |
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 EndpointWithReferenceRequest(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(Endpoint newEndpoint, IJsonBackedObject payload, ICallback<? super Endpoint> callback)
post in interface IEndpointWithReferenceRequestpublic Endpoint post(Endpoint newEndpoint, IJsonBackedObject payload) throws ClientException
post in interface IEndpointWithReferenceRequestClientExceptionpublic void get(ICallback<? super Endpoint> callback)
get in interface IEndpointWithReferenceRequestpublic Endpoint get() throws ClientException
get in interface IEndpointWithReferenceRequestClientExceptionpublic void delete(ICallback<? super Endpoint> callback)
delete in interface IEndpointWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IEndpointWithReferenceRequestClientExceptionpublic void patch(Endpoint sourceEndpoint, ICallback<? super Endpoint> callback)
patch in interface IEndpointWithReferenceRequestpublic Endpoint patch(Endpoint sourceEndpoint) throws ClientException
patch in interface IEndpointWithReferenceRequestClientExceptionpublic IEndpointWithReferenceRequest select(java.lang.String value)
select in interface IEndpointWithReferenceRequestvalue - the select clausepublic IEndpointWithReferenceRequest expand(java.lang.String value)
expand in interface IEndpointWithReferenceRequestvalue - the expand clause