|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.coyote.http11.AbstractOutputBuffer<NioChannel> org.apache.coyote.http11.InternalNioOutputBuffer
public class InternalNioOutputBuffer
Output buffer.
Nested Class Summary | |
---|---|
protected class |
InternalNioOutputBuffer.SocketOutputBuffer
This class is an output buffer which will write data to an output stream. |
Field Summary |
---|
Fields inherited from class org.apache.coyote.http11.AbstractOutputBuffer |
---|
activeFilters, buf, byteCount, committed, filterLibrary, finished, lastActiveFilter, outputStreamOutputBuffer, pos, response, sm |
Constructor Summary | |
---|---|
InternalNioOutputBuffer(Response response,
int headerBufferSize)
Default constructor. |
Method Summary | |
---|---|
protected void |
commit()
Commit the response. |
void |
endRequest()
End request. |
void |
flush()
Flush the response. |
void |
init(SocketWrapper<NioChannel> socketWrapper,
AbstractEndpoint endpoint)
|
void |
recycle()
Recycle the output buffer. |
void |
sendAck()
Send an acknowledgment. |
Methods inherited from class org.apache.coyote.http11.AbstractOutputBuffer |
---|
addActiveFilter, addFilter, doWrite, endHeaders, getBytesWritten, getFilters, nextRequest, reset, sendHeader, sendStatus, write, 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 InternalNioOutputBuffer(Response response, int headerBufferSize)
Method Detail |
---|
public void flush() throws IOException
flush
in class AbstractOutputBuffer<NioChannel>
IOException
- an underlying I/O error occurredpublic void recycle()
recycle
in class AbstractOutputBuffer<NioChannel>
public void endRequest() throws IOException
endRequest
in class AbstractOutputBuffer<NioChannel>
IOException
- an underlying I/O error occurredpublic void sendAck() throws IOException
sendAck
in class AbstractOutputBuffer<NioChannel>
IOException
public void init(SocketWrapper<NioChannel> socketWrapper, AbstractEndpoint endpoint) throws IOException
init
in class AbstractOutputBuffer<NioChannel>
IOException
protected void commit() throws IOException
commit
in class AbstractOutputBuffer<NioChannel>
IOException
- an underlying I/O error occurred
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |