|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.tcp.http11.InternalOutputBuffer
com.sun.grizzly.http.SocketChannelOutputBuffer
com.sun.grizzly.arp.AsynchronousOutputBuffer
public class AsynchronousOutputBuffer
SocketChannelOutputBuffer used when Comet is used.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.grizzly.http.SocketChannelOutputBuffer |
|---|
SocketChannelOutputBuffer.AsyncWriteCallbackHandlerImpl, SocketChannelOutputBuffer.ByteBufferClonerImpl |
| Nested classes/interfaces inherited from class com.sun.grizzly.tcp.http11.InternalOutputBuffer |
|---|
InternalOutputBuffer.OutputStreamOutputBuffer |
| Field Summary |
|---|
| Fields inherited from class com.sun.grizzly.http.SocketChannelOutputBuffer |
|---|
ACK, asyncHttpByteBufferCloner, asyncQueueWriter, bufferPool, channel, DEFAULT_BUFFER_POOL_SIZE, discardBytes, isAsyncHttpWriteEnabled, logger, maxBufferedBytes, maxBufferPoolSize, outputByteBuffer, selectionKey |
| Fields inherited from class com.sun.grizzly.tcp.http11.InternalOutputBuffer |
|---|
activeFilters, buf, committed, filterLibrary, finished, headers, lastActiveFilter, outputStream, outputStreamOutputBuffer, pos, response, socketBuffer, useSocketBuffer |
| Constructor Summary | |
|---|---|
AsynchronousOutputBuffer(Response response,
int headerBufferSize,
boolean useSocketBuffer)
Alternate constructor. |
|
| Method Summary | |
|---|---|
void |
flushChannel(java.nio.ByteBuffer bb)
Flush the buffer by looping until the ByteBuffer is empty |
| Methods inherited from class com.sun.grizzly.http.SocketChannelOutputBuffer |
|---|
createByteBuffer, discardUpstreamBytes, endRequest, flush, flushBuffer, getAsyncQueueWriter, getChannel, getMaxBufferedBytes, getMaxBufferPoolSize, getOutputByteBuffer, getSelectionKey, isAsyncHttpWriteEnabled, isSupportFileSend, realWriteBytes, recycle, reset, sendAck, sendFile, setAsyncHttpWriteEnabled, setAsyncQueueWriter, setChannel, setMaxBufferedBytes, setMaxBufferPoolSize, setSelectionKey, write, write |
| Methods inherited from class com.sun.grizzly.tcp.http11.InternalOutputBuffer |
|---|
addActiveFilter, addFilter, addLastOutputFilter, clearFilters, commit, doWrite, endHeaders, flush, getFilters, getOutputStream, nextRequest, sendHeader, sendHeader, sendHeader, sendStatus, setOutputStream, setSocketBuffer, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsynchronousOutputBuffer(Response response,
int headerBufferSize,
boolean useSocketBuffer)
| Method Detail |
|---|
public void flushChannel(java.nio.ByteBuffer bb)
throws java.io.IOException
SocketChannelOutputBufferByteBuffer is empty
flushChannel in class SocketChannelOutputBufferbb - the ByteBuffer to write.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||