org.sblim.wbem.http.io
Class ChunkedInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.sblim.wbem.http.io.ChunkedInputStream

public class ChunkedInputStream
extends java.io.InputStream


Constructor Summary
ChunkedInputStream(java.io.InputStream is)
           
 
Method Summary
 int available()
           
 void close()
           
 HttpHeader getTrailers()
           
 int read()
           
 int read(byte[] buf, int off, int len)
           
 long skip(long total)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkedInputStream

public ChunkedInputStream(java.io.InputStream is)
Method Detail

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] buf,
                int off,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException

getTrailers

public HttpHeader getTrailers()

skip

public long skip(long total)
          throws java.io.IOException
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005, 2010 IBM Corporation. All Rights Reserved.