com.caucho.remote.websocket
Class MaskedInputStream
java.lang.Object
java.io.InputStream
com.caucho.remote.websocket.MaskedInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class MaskedInputStream
- extends java.io.InputStream
User facade for http requests.
Methods inherited from class java.io.InputStream |
close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MaskedInputStream
public MaskedInputStream()
init
public void init(java.io.InputStream is)
readMask
public boolean readMask()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Overrides:
available
in class java.io.InputStream
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object