Class BytesWrittenTrackingInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Releasable

    @SdkInternalApi
    public final class BytesWrittenTrackingInputStream
    extends SdkFilterInputStream
    An input stream that tracks the number of bytes read from it. When the HTTP client reads from this stream to send the request body, we count those bytes as "written" to the service.