public class ChunkedInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
ChunkedInputStream(java.io.InputStream pStream,
java.lang.String pTrailerFields)
Ctor.
|
ChunkedInputStream(java.io.InputStream pStream,
java.lang.String pTrailerFields,
java.lang.String pOrigin)
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,
java.lang.String pTrailerFields)
pStream - The stream to create this one uponpTrailerFields - The names of trailer fieldspublic ChunkedInputStream(java.io.InputStream pStream,
java.lang.String pTrailerFields,
java.lang.String pOrigin)
pStream - The stream to create this one uponpTrailerFields - The names of trailer fieldspOrigin - The origin of the stream (response, indication request, etc.)public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic HttpHeader getTrailers()
public long skip(long total)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic int available()
available in class java.io.InputStreampublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.