Class ChangeSetContextAwareInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.ProxyInputStream
com.sap.cds.adapter.odata.v4.utils.ChangeSetContextAwareInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ChangeSetContextAwareInputStream
extends org.apache.commons.io.input.ProxyInputStream
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorDescriptionChangeSetContextAwareInputStream
(InputStream in, ChangeSetContextSPI changeSetContext, AtomicBoolean unclosedChangeSetTracker) -
Method Summary
Methods inherited from class org.apache.commons.io.input.ProxyInputStream
available, beforeRead, mark, markSupported, read, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ChangeSetContextAwareInputStream
public ChangeSetContextAwareInputStream(InputStream in, ChangeSetContextSPI changeSetContext, AtomicBoolean unclosedChangeSetTracker)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classorg.apache.commons.io.input.ProxyInputStream
- Throws:
IOException
-
afterRead
- Overrides:
afterRead
in classorg.apache.commons.io.input.ProxyInputStream
- Throws:
IOException
-
handleIOException
- Overrides:
handleIOException
in classorg.apache.commons.io.input.ProxyInputStream
- Throws:
IOException
-