ResponsePublisher (AWS SDK for Java

ResponsePublisher (AWS SDK for Java - 2.25.22)
Type Parameters:
ResponseT - Pojo response type.
All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>, SdkPublisher<ByteBuffer>

An SdkPublisher that publishes response body content and also contains a reference to the SdkResponse returned by the service.
See Also:
  • Constructor Details

  • Method Details

    • response

      Returns:
      the unmarshalled response object from the service.
    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<ResponseT extends SdkResponse>
    • toString

      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()

      Overrides:
      hashCode in class Object

You Might Also Like