Class ServletReaderCopier
java.lang.Object
java.io.Reader
edu.internet2.middleware.grouper.ws.j2ee.ServletReaderCopier
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
copy bytes to a buffer
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
ServletReaderCopier
constructor- Parameters:
reader1-
-
-
Method Details
-
getCopy
public byte[] getCopy()get the copy- Returns:
- bytes
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException- See Also:
-
read
- Specified by:
readin classReader- Throws:
IOException- See Also:
-