Class BoundDelegatingInputStream
java.lang.Object
java.io.InputStream
org.eclipse.jetty.session.infinispan.BoundDelegatingInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
BoundDelegatingInputStream
An InputStream that delegates methods to an ObjectInput. The ObjectInput must start
with an integer containing the length of the data.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Field Details
-
objectInput
-
-
Constructor Details
-
BoundDelegatingInputStream
- Throws:
IOException
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-