Package org.apache.jackrabbit.aws.ext.ds
Class S3BackendResourceAbortableInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.commons.io.input.ProxyInputStream
-
- org.apache.jackrabbit.aws.ext.ds.S3BackendResourceAbortableInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,BackendResourceAbortable
public class S3BackendResourceAbortableInputStream extends org.apache.commons.io.input.ProxyInputStream implements BackendResourceAbortable
S3 Backend basedInputStream
wrapper to implementBackendResourceAbortable
.
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description S3BackendResourceAbortableInputStream(com.amazonaws.services.s3.model.S3ObjectInputStream s3input)
Construct with the given backendS3ObjectInputStream
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abort()
Abort the underlying backend resource(s).-
Methods inherited from class org.apache.commons.io.input.ProxyInputStream
afterRead, available, beforeRead, close, handleIOException, mark, markSupported, read, read, read, reset, skip, unwrap
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Method Detail
-
abort
public void abort()
Description copied from interface:BackendResourceAbortable
Abort the underlying backend resource(s).- Specified by:
abort
in interfaceBackendResourceAbortable
-
-