Class S3CrtRequestBodyStreamAdapter

  • All Implemented Interfaces:
    software.amazon.awssdk.crt.http.HttpRequestBodyStream

    public final class S3CrtRequestBodyStreamAdapter
    extends Object
    implements software.amazon.awssdk.crt.http.HttpRequestBodyStream
    Adapts an SDK AsyncRequestBody to CRT's HttpRequestBodyStream.
    • Constructor Detail

    • Method Detail

      • sendRequestBody

        public boolean sendRequestBody​(ByteBuffer outBuffer)
        Specified by:
        sendRequestBody in interface software.amazon.awssdk.crt.http.HttpRequestBodyStream
      • getLength

        public long getLength()
        Specified by:
        getLength in interface software.amazon.awssdk.crt.http.HttpRequestBodyStream