Package com.helger.as2lib.util.http
Class ChunkedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.helger.commons.io.stream.WrappedInputStream
com.helger.as2lib.util.http.ChunkedInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ChunkedInputStream
extends com.helger.commons.io.stream.WrappedInputStream
Stream to read a chunked body stream. Input stream should be at the beginning
of a chunk, i.e. at the body beginning (after the end of headers marker). The
resulting stream reads the data through the chunks.
- Author:
- Ziv Harpaz
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
-
Method Summary
Methods inherited from class com.helger.commons.io.stream.WrappedInputStream
getWrappedInputStream, toString
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ChunkedInputStream
-
-
Method Details
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-