Interface ODataPayloadManager<T extends ODataResponse>
- Type Parameters:
T
- OData response type corresponding to the request implementation.
- All Superinterfaces:
ODataStreamer
- All Known Subinterfaces:
BatchManager
,MediaEntityCreateStreamManager<E>
,MediaEntityUpdateStreamManager<E>
,StreamUpdateStreamManager
OData request payload management abstract class.
-
Field Summary
Fields inherited from interface org.apache.olingo.client.api.communication.request.ODataStreamer
CRLF
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Closes piped output stream.Closes the payload input stream and ask for an asynchronous response.getBody()
Gets payload stream.Closes the payload input stream and gets the OData response back.Methods inherited from interface org.apache.olingo.client.api.communication.request.ODataStreamer
getBodyStreamWriter
-
Method Details
-
getBody
InputStream getBody()Gets payload stream.- Returns:
- payload stream.
-
finalizeBody
void finalizeBody()Closes piped output stream. -
getResponse
T getResponse()Closes the payload input stream and gets the OData response back.- Returns:
- OData response.
-
getAsyncResponse
Closes the payload input stream and ask for an asynchronous response.- Returns:
Future<ODataResponse>
about the executed request.
-