HTTPClient
Class ChunkedInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--HTTPClient.ChunkedInputStream
- class ChunkedInputStream
- extends java.io.FilterInputStream
This class de-chunks an input stream.
| Type | Field |
(package private) byte[] |
one
|
| Fields inherited from class java.io.FilterInputStream |
in |
| Methods inherited from class java.io.FilterInputStream |
close, mark, markSupported, read, reset |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
one
byte[] one
ChunkedInputStream
ChunkedInputStream(java.io.InputStream is)
- Parameters:
is - the input stream to dechunk
read
public int read()
throws java.io.IOException
- Overrides:
read in class java.io.FilterInputStream
read
public int read(byte[] buf,
int off,
int len)
throws java.io.IOException
- Overrides:
read in class java.io.FilterInputStream
skip
public long skip(long num)
throws java.io.IOException
- Overrides:
skip in class java.io.FilterInputStream
available
public int available()
throws java.io.IOException
- Overrides:
available in class java.io.FilterInputStream