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