public interface OutputBuffer
Modifier and Type | Method and Description |
---|---|
int |
doWrite(ByteChunk chunk,
Response response)
Write the given data to the response.
|
long |
getBytesWritten()
Bytes written to the underlying socket.
|
int doWrite(ByteChunk chunk, Response response) throws IOException
chunk
- data to writeresponse
- The response to which the data should be written.
(Should be the response already associated with the
OutputBuffer).IOException
- an underlying I/O error occurredlong getBytesWritten()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.