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 abort()
.
Note that this will close the underlying connection and require establishing an HTTP connection which may outweigh the
cost of reading the additional data.
Modifier and Type | Method and Description |
---|---|
void |
abort()
Can be used to provide abortion logic prior to throwing the
AbortedException.
|
ResponseT |
response() |
available, close, mark, markSupported, read, read, release, reset, skip
read
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
release
public ResponseT response()
public void abort()
SdkFilterInputStream
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.