protected class Http11OutputBuffer.SocketOutputBuffer extends Object implements OutputBuffer
Modifier | Constructor and Description |
---|---|
protected |
SocketOutputBuffer() |
Modifier and Type | Method and Description |
---|---|
int |
doWrite(ByteChunk chunk)
Write chunk.
|
long |
getBytesWritten()
Bytes written to the underlying socket.
|
public int doWrite(ByteChunk chunk) throws IOException
doWrite
in interface OutputBuffer
chunk
- data to writeIOException
- an underlying I/O error occurredpublic long getBytesWritten()
OutputBuffer
getBytesWritten
in interface OutputBuffer
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.