Class AwsSignedChunkedEncodingInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Releasable

    public final class AwsSignedChunkedEncodingInputStream
    extends AwsChunkedEncodingInputStream
    A wrapper of InputStream that implements chunked encoding.

    Each chunk will be buffered for the calculation of the chunk signature which is added at the head of each chunk. The request signature and the chunk signatures will be assumed to be hex-encoded strings.

    This class will use the mark() & reset() of the wrapped InputStream if they are supported, otherwise it will create a buffer for bytes read from the wrapped stream.