edu.internet2.middleware.grouper.ws.j2ee
Class ServletInputStreamCopier

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by edu.internet2.middleware.grouper.ws.j2ee.ServletInputStreamCopier
All Implemented Interfaces:
Closeable

public class ServletInputStreamCopier
extends ServletInputStream

copy bytes to a buffer


Constructor Summary
ServletInputStreamCopier(InputStream inputStream1)
          constructor
 
Method Summary
 byte[] getCopy()
          get the copy
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletInputStreamCopier

public ServletInputStreamCopier(InputStream inputStream1)
constructor

Parameters:
inputStream1 -
Method Detail

read

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

getCopy

public byte[] getCopy()
get the copy

Returns:
bytes