java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
com.sun.facelets.mock.MockServletInputStream
- All Implemented Interfaces:
- java.io.Closeable
- public class MockServletInputStream
- extends javax.servlet.ServletInputStream
- Version:
- $Id: MockServletInputStream.java,v 1.1 2005/07/18 08:25:42 jhook Exp $
|
Method Summary |
int |
read()
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
private final java.io.InputStream source
MockServletInputStream
public MockServletInputStream()
MockServletInputStream
public MockServletInputStream(java.io.InputStream source)
read
public int read()
throws java.io.IOException
- Description copied from class:
java.io.InputStream
- This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255. This method also will return -1 if
the end of the stream has been reached.
This method will block until the byte can be read.