Class SdkLengthAwareInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
software.amazon.awssdk.http.auth.aws.internal.signer.io.SdkLengthAwareInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
ChunkInputStream

public class SdkLengthAwareInputStream extends FilterInputStream
An InputStream that is aware of its length. The main purpose of this class is to support truncating streams to a length that is shorter than the total length of the stream.