E - concrete ODataEntity implementationpublic class ODataEntityUpdateRequestImpl<E extends org.apache.olingo.client.api.domain.ClientEntity> extends AbstractODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataEntityUpdateResponse<E>> implements org.apache.olingo.client.api.communication.request.cud.ODataEntityUpdateRequest<E>
httpClient, method, odataClient, odataHeaders, request, uriLOG| Constructor and Description |
|---|
ODataEntityUpdateRequestImpl(org.apache.olingo.client.api.ODataClient odataClient,
org.apache.olingo.commons.api.http.HttpMethod method,
URI uri,
E changes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.olingo.client.api.communication.response.ODataEntityUpdateResponse<E> |
execute() |
org.apache.olingo.commons.api.format.ContentType |
getDefaultFormat() |
protected InputStream |
getPayload()
Gets payload as an InputStream.
|
asyncExecute, batch, batch, setFormataddCustomHeader, 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, waitasyncExecute, setFormatbatch, batchaddCustomHeader, getAccept, getContentType, getHeader, getHeaderNames, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArraypublic ODataEntityUpdateRequestImpl(org.apache.olingo.client.api.ODataClient odataClient,
org.apache.olingo.commons.api.http.HttpMethod method,
URI uri,
E changes)
odataClient - client instance getting this requestmethod - request method.uri - URI of the entity to be updated.changes - changes to be applied.public org.apache.olingo.commons.api.format.ContentType getDefaultFormat()
getDefaultFormat in class AbstractODataRequestprotected InputStream getPayload()
AbstractODataBasicRequestgetPayload in class AbstractODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataEntityUpdateResponse<E extends org.apache.olingo.client.api.domain.ClientEntity>>public org.apache.olingo.client.api.communication.response.ODataEntityUpdateResponse<E> execute()
execute in interface org.apache.olingo.client.api.communication.request.ODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataEntityUpdateResponse<E extends org.apache.olingo.client.api.domain.ClientEntity>>Copyright © 2013–2017 The Apache Software Foundation. All rights reserved.