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

public interface ODataPayloadManager<T extends ODataResponse> extends ODataStreamer
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 Type
    Method
    Description
    void
    Closes piped output stream.
    Closes the payload input stream and ask for an asynchronous response.
    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

      Future<T> getAsyncResponse()
      Closes the payload input stream and ask for an asynchronous response.
      Returns:
      Future<ODataResponse> about the executed request.