public class InternalAprOutputBuffer extends AbstractOutputBuffer<Long>
Modifier and Type | Class and Description |
---|---|
protected class |
InternalAprOutputBuffer.SocketOutputBuffer
This class is an output buffer which will write data to an output
stream.
|
activeFilters, buf, byteCount, committed, filterLibrary, finished, lastActiveFilter, outputStreamOutputBuffer, pos, response, sm
Constructor and Description |
---|
InternalAprOutputBuffer(Response response,
int headerBufferSize)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
commit()
Commit the response.
|
void |
endRequest()
End request.
|
void |
flush()
Flush the response.
|
void |
init(SocketWrapper<Long> socketWrapper,
AbstractEndpoint<Long> endpoint) |
void |
recycle()
Recycle the output buffer.
|
void |
sendAck()
Send an acknowledgment.
|
addActiveFilter, addFilter, doWrite, endHeaders, getBytesWritten, getFilters, nextRequest, reset, sendHeader, sendStatus, write, write, write, write, write, write
public InternalAprOutputBuffer(Response response, int headerBufferSize)
public void init(SocketWrapper<Long> socketWrapper, AbstractEndpoint<Long> endpoint) throws IOException
init
in class AbstractOutputBuffer<Long>
IOException
public void flush() throws IOException
flush
in class AbstractOutputBuffer<Long>
IOException
- an underlying I/O error occurredpublic void recycle()
recycle
in class AbstractOutputBuffer<Long>
public void endRequest() throws IOException
endRequest
in class AbstractOutputBuffer<Long>
IOException
- an underlying I/O error occurredpublic void sendAck() throws IOException
sendAck
in class AbstractOutputBuffer<Long>
IOException
protected void commit() throws IOException
commit
in class AbstractOutputBuffer<Long>
IOException
- an underlying I/O error occurredCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.