public final class ResponseInputStream<ResponseT> extends SdkFilterInputStream implements Abortable
If it is not desired to read remaining data from the stream, you can explicitly abort the connection via
Note that this will close the underlying connection and require establishing an HTTP connection which may outweigh the
cost of reading the additional data.
|Constructor and Description|
|Modifier and Type||Method and Description|
Can be used to provide abortion logic prior to throwing the AbortedException.
available, close, mark, markSupported, read, read, release, reset, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ResponseT response()
Copyright © 2020 Amazon Web Services, Inc. All Rights Reserved.