- All Known Implementing Classes:
public interface OutputBuffer
Output buffer. This class is used internally by the protocol implementation. All writes from higher level code should happen via Response.doWrite().
- Remy Maucherat
doWriteWrite the given data to the response. The caller owns the chunks.
chunk- data to write
- The number of bytes written which may be less than available in the input chunk
IOException- an underlying I/O error occurred
getBytesWrittenlong getBytesWritten()Bytes written to the underlying socket. This includes the effects of chunking, compression, etc.
- Bytes written for the current request