public abstract class AbstractODataInvokeRequest<T extends org.apache.olingo.client.api.domain.ClientInvokeResult> extends AbstractODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataInvokeResponse<T>> implements org.apache.olingo.client.api.communication.request.invoke.ODataInvokeRequest<T>, org.apache.olingo.client.api.communication.request.ODataBatchableRequest
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractODataInvokeRequest.ODataInvokeResponseImpl
Response class about an ODataInvokeRequest.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.apache.olingo.client.api.domain.ClientValue> |
parameters
Function parameters.
|
httpClient, method, odataClient, odataHeaders, request, uriLOG| Constructor and Description |
|---|
AbstractODataInvokeRequest(org.apache.olingo.client.api.ODataClient odataClient,
Class<T> reference,
org.apache.olingo.commons.api.http.HttpMethod method,
URI uri)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.olingo.client.api.communication.response.ODataInvokeResponse<T> |
execute() |
org.apache.olingo.commons.api.format.ContentType |
getDefaultFormat() |
protected InputStream |
getPayload()
Gets payload as an InputStream.
|
protected abstract org.apache.olingo.commons.api.format.ContentType |
getPOSTParameterFormat() |
void |
setFormat(org.apache.olingo.commons.api.format.ContentType contentType) |
void |
setParameters(Map<String,org.apache.olingo.client.api.domain.ClientValue> parameters) |
asyncExecute, batch, batchaddCustomHeader, doExecute, getAccept, getContentType, getHeader, getHeader, getHeaderNames, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getResponseTemplate, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArraycheckRequest, checkResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasyncExecuteaddCustomHeader, getAccept, getContentType, getHeader, getHeaderNames, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArraypublic AbstractODataInvokeRequest(org.apache.olingo.client.api.ODataClient odataClient,
Class<T> reference,
org.apache.olingo.commons.api.http.HttpMethod method,
URI uri)
odataClient - client instance getting this requestreference - reference class for invoke resultmethod - HTTP method of the request.uri - URI that identifies the operation.public void setParameters(Map<String,org.apache.olingo.client.api.domain.ClientValue> parameters)
setParameters in interface org.apache.olingo.client.api.communication.request.invoke.ODataInvokeRequest<T extends org.apache.olingo.client.api.domain.ClientInvokeResult>public org.apache.olingo.commons.api.format.ContentType getDefaultFormat()
getDefaultFormat in class AbstractODataRequestpublic void setFormat(org.apache.olingo.commons.api.format.ContentType contentType)
setFormat in interface org.apache.olingo.client.api.communication.request.ODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataInvokeResponse<T extends org.apache.olingo.client.api.domain.ClientInvokeResult>>setFormat in class AbstractODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataInvokeResponse<T extends org.apache.olingo.client.api.domain.ClientInvokeResult>>protected abstract org.apache.olingo.commons.api.format.ContentType getPOSTParameterFormat()
protected InputStream getPayload()
AbstractODataBasicRequestgetPayload in class AbstractODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataInvokeResponse<T extends org.apache.olingo.client.api.domain.ClientInvokeResult>>public org.apache.olingo.client.api.communication.response.ODataInvokeResponse<T> execute()
execute in interface org.apache.olingo.client.api.communication.request.ODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataInvokeResponse<T extends org.apache.olingo.client.api.domain.ClientInvokeResult>>Copyright © 2013–2017 The Apache Software Foundation. All rights reserved.