Class ServiceClientHolderInputStream

  • All Implemented Interfaces:
    com.amazonaws.internal.MetricAware, com.amazonaws.internal.Releasable, Closeable, AutoCloseable

    public class ServiceClientHolderInputStream
    extends com.amazonaws.internal.SdkFilterInputStream
    This wrapper input stream holds a reference to the service client. This is mainly done to avoid the AmazonWebServiceClient object being garbage collected when the client reads data from the input stream.