Class ODataMediaRequestImpl.ODataMediaResponseImpl
java.lang.Object
org.apache.olingo.client.core.communication.response.AbstractODataResponse
AbstractODataRetrieveRequest<InputStream>.AbstractODataRetrieveResponse
org.apache.olingo.client.core.communication.request.retrieve.ODataMediaRequestImpl.ODataMediaResponseImpl
- All Implemented Interfaces:
ODataResponse,ODataRetrieveResponse<InputStream>
- Enclosing class:
- ODataMediaRequestImpl
protected class ODataMediaRequestImpl.ODataMediaResponseImpl
extends AbstractODataRetrieveRequest<InputStream>.AbstractODataRetrieveResponse
Response class about an ODataMediaRequest.
-
Field Summary
Fields inherited from class org.apache.olingo.client.core.communication.response.AbstractODataResponse
batchInfo, hasBeenInitialized, headers, httpClient, LOG, odataClient, payload, res, statusCode, statusMessage -
Method Summary
Methods inherited from class org.apache.olingo.client.core.communication.response.AbstractODataResponse
close, closeHttpResponse, getContentType, getETag, getHeader, getHeaderNames, getRawResponse, getStatusCode, getStatusMessage, initFromBatch, initFromEnclosedPart, initFromHttpResponseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.olingo.client.api.communication.response.ODataResponse
close, getContentType, getETag, getHeader, getHeaderNames, getRawResponse, getStatusCode, getStatusMessage, initFromBatch, initFromEnclosedPart, initFromHttpResponse
-
Method Details
-
getBody
Gets query result objects.
WARNING: Closing this ODataResponse instance is left to the caller.- Specified by:
getBodyin interfaceODataRetrieveResponse<InputStream>- Specified by:
getBodyin classAbstractODataRetrieveRequest<InputStream>.AbstractODataRetrieveResponse- Returns:
- query result objects as InputStream.
-