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 OutputBuffer
chunk
- data to writeres
- used to allow buffers that can be shared by multiple
responses.java.io.IOException
public long getBytesWritten()
OutputBuffer
getBytesWritten
in interface OutputBuffer
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.