protected class InternalNioOutputBuffer.SocketOutputBuffer extends java.lang.Object implements OutputBuffer
| Modifier | Constructor and Description |
|---|---|
protected |
InternalNioOutputBuffer.SocketOutputBuffer() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWrite(ByteChunk chunk,
Response res)
Write chunk.
|
long |
getBytesWritten()
Bytes written to the underlying socket.
|
protected InternalNioOutputBuffer.SocketOutputBuffer()
public int doWrite(ByteChunk chunk, Response res) throws java.io.IOException
doWrite in interface OutputBufferchunk - data to writeres - The response to which the data should be written.
(Should be the response already associated with the
OutputBuffer).java.io.IOException - an underlying I/O error occurredpublic long getBytesWritten()
OutputBuffergetBytesWritten in interface OutputBufferCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.