com.smallx.servlet
Class ByteArrayServletInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjavax.servlet.ServletInputStream
          extended bycom.smallx.servlet.ByteArrayServletInputStream

public class ByteArrayServletInputStream
extends javax.servlet.ServletInputStream


Constructor Summary
ByteArrayServletInputStream(byte[] value)
           
 
Method Summary
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int offset, int len)
           
 
Methods inherited from class javax.servlet.ServletInputStream
readLine
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayServletInputStream

public ByteArrayServletInputStream(byte[] value)
Method Detail

read

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

read

public int read(byte[] b)

read

public int read(byte[] b,
                int offset,
                int len)