org.sblim.cimclient.internal.http.io

Class ChunkedInputStream

public class ChunkedInputStream extends InputStream

Class ChunkedInputStream implements an input stream for chunked messages
Constructor Summary
ChunkedInputStream(InputStream pStream)
Ctor.
Method Summary
intavailable()
voidclose()
HttpHeadergetTrailers()
Return the http header trailers
intread()
intread(byte[] buf, int off, int len)
longskip(long total)

Constructor Detail

ChunkedInputStream

public ChunkedInputStream(InputStream pStream)
Ctor.

Parameters: pStream The stream to create this one upon

Method Detail

available

public int available()

Returns: int

close

public void close()

getTrailers

public HttpHeader getTrailers()
Return the http header trailers

Returns: The trailers

read

public int read()

read

public int read(byte[] buf, int off, int len)

skip

public long skip(long total)
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.