public class ChunkedInputStream
extends java.io.InputStream
Constructor and Description |
---|
ChunkedInputStream(java.io.InputStream pStream)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
HttpHeader |
getTrailers()
Return the http header trailers
|
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
long |
skip(long total) |
public ChunkedInputStream(java.io.InputStream pStream)
pStream
- The stream to create this one uponpublic int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] buf, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public HttpHeader getTrailers()
public long skip(long total) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public int available()
available
in class java.io.InputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.