Class ChecksumCalculatingAsyncRequestBody

java.lang.Object
software.amazon.awssdk.services.s3.internal.checksums.ChecksumCalculatingAsyncRequestBody
All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>, AsyncRequestBody, SdkPublisher<ByteBuffer>

public class ChecksumCalculatingAsyncRequestBody extends Object implements AsyncRequestBody
  • Constructor Details

  • Method Details

    • contentLength

      public Optional<Long> contentLength()
      Specified by:
      contentLength in interface AsyncRequestBody
      Returns:
      The content length of the data being produced.
    • contentType

      public String contentType()
      Specified by:
      contentType in interface AsyncRequestBody
      Returns:
      The content type of the data being produced.
    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<ByteBuffer>