com.sun.enterprise.web.connector.grizzly.comet
Class CometInputStream
java.lang.Object
java.io.InputStream
com.sun.enterprise.web.connector.grizzly.ByteBufferInputStream
com.sun.enterprise.web.connector.grizzly.comet.CometInputStream
- All Implemented Interfaces:
- Closeable
public class CometInputStream
- extends ByteBufferInputStream
Simple InputStream implementation that is backed by a
ByteBuffer
- Author:
- Jeanfrancois Arcand
|
Method Summary |
void |
recycle()
Recycle the stream. |
| Methods inherited from class com.sun.enterprise.web.connector.grizzly.ByteBufferInputStream |
available, close, doRead, getByteBuffer, getDefaultReadTimeout, getReadTimeout, markSupported, read, read, read, read, readBlocking, setByteBuffer, setDefaultReadTimeout, setReadTimeout, setSelectionKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CometInputStream
public CometInputStream()
- Creates a new
CometInputStream
recycle
public void recycle()
- Recycle the stream.
- Overrides:
recycle in class ByteBufferInputStream
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.