public class DynamicsODataEntityRetrieveRequest<E extends org.apache.olingo.client.api.domain.ClientEntity> extends DynamicsAbstractODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataRetrieveResponse<E>> implements org.apache.olingo.client.api.communication.request.retrieve.ODataEntityRequest<E>
Modifier and Type | Class and Description |
---|---|
class |
DynamicsODataEntityRetrieveRequest.ODataEntityResponseImpl
Response class about an ODataEntityRequest.
|
Constructor and Description |
---|
DynamicsODataEntityRetrieveRequest(org.apache.olingo.client.api.ODataClient odataClient,
URI query)
Not a private constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.olingo.client.api.communication.response.ODataRetrieveResponse<E> |
execute() |
org.apache.olingo.commons.api.format.ContentType |
getDefaultFormat() |
protected InputStream |
getPayload()
Gets payload as an InputStream.
|
asyncExecute, batch, batch, checkResponse, setFormat
addCustomHeader, doExecute, getAccept, getContentType, getHeader, getHeader, getHeaderNames, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getResponseTemplate, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArray
checkRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asyncExecute, setFormat
batch, batch
addCustomHeader, getAccept, getContentType, getHeader, getHeaderNames, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArray
public DynamicsODataEntityRetrieveRequest(org.apache.olingo.client.api.ODataClient odataClient, URI query)
odataClient
- client instance getting this requestquery
- query to be executed.public org.apache.olingo.commons.api.format.ContentType getDefaultFormat()
getDefaultFormat
in class org.apache.olingo.client.core.communication.request.AbstractODataRequest
protected InputStream getPayload()
DynamicsAbstractODataBasicRequest
getPayload
in class DynamicsAbstractODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataRetrieveResponse<E extends org.apache.olingo.client.api.domain.ClientEntity>>
public org.apache.olingo.client.api.communication.response.ODataRetrieveResponse<E> execute()
execute
in interface org.apache.olingo.client.api.communication.request.ODataBasicRequest<org.apache.olingo.client.api.communication.response.ODataRetrieveResponse<E extends org.apache.olingo.client.api.domain.ClientEntity>>
Copyright © 2010–2020. All rights reserved.