org.apache.openejb.server.httpd
Class ServletByteArrayIntputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by org.apache.openejb.server.httpd.ServletByteArrayIntputStream
All Implemented Interfaces:
Closeable

public class ServletByteArrayIntputStream
extends javax.servlet.ServletInputStream


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

Constructor Detail

ServletByteArrayIntputStream

public ServletByteArrayIntputStream(byte[] body)
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

getIntputStream

public ByteArrayInputStream getIntputStream()


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.