public interface OutputBuffer
| Modifier and Type | Method and Description |
|---|---|
int |
doWrite(ByteBuffer chunk)
Write the given data to the response.
|
int |
doWrite(ByteChunk chunk)
Deprecated.
Unused. Will be removed in Tomcat 9. Use
doWrite(ByteBuffer) |
long |
getBytesWritten()
Bytes written to the underlying socket.
|
@Deprecated int doWrite(ByteChunk chunk) throws IOException
doWrite(ByteBuffer)chunk - data to writeIOException - an underlying I/O error occurredint doWrite(ByteBuffer chunk) throws IOException
chunk - data to writeIOException - an underlying I/O error occurredlong getBytesWritten()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.