|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.web.connector.grizzly.OutputWriter
public class OutputWriter
NIO utility to flush ByteBuffer
| Constructor Summary | |
|---|---|
OutputWriter()
|
|
| Method Summary | |
|---|---|
static long |
flushChannel(SocketChannel socketChannel,
ByteBuffer bb)
Flush the buffer by looping until the ByteBuffer is empty |
static long |
flushChannel(SocketChannel socketChannel,
ByteBuffer[] bb)
Flush the buffer by looping until the ByteBuffer is empty |
static long |
flushChannel(SocketChannel socketChannel,
ByteBuffer[] bb,
long writeTimeout)
Flush the buffer by looping until the ByteBuffer is empty |
static long |
flushChannel(SocketChannel socketChannel,
ByteBuffer bb,
long writeTimeout)
Flush the buffer by looping until the ByteBuffer is empty |
static int |
getDefaultWriteTimeout()
|
static void |
setDefaultWriteTimeout(int aDefaultWriteTimeout)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputWriter()
| Method Detail |
|---|
public static long flushChannel(SocketChannel socketChannel,
ByteBuffer bb)
throws IOException
ByteBuffer is empty
bb - the ByteBuffer to write.
IOException
public static long flushChannel(SocketChannel socketChannel,
ByteBuffer bb,
long writeTimeout)
throws IOException
ByteBuffer is empty
bb - the ByteBuffer to write.
IOException
public static long flushChannel(SocketChannel socketChannel,
ByteBuffer[] bb)
throws IOException
ByteBuffer is empty
bb - the ByteBuffer to write.
IOException
public static long flushChannel(SocketChannel socketChannel,
ByteBuffer[] bb,
long writeTimeout)
throws IOException
ByteBuffer is empty
bb - the ByteBuffer to write.
IOExceptionpublic static int getDefaultWriteTimeout()
public static void setDefaultWriteTimeout(int aDefaultWriteTimeout)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||