public interface OutputBuffer
Modifier and Type | Method and Description |
---|---|
int |
doWrite(java.nio.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 java.io.IOException
doWrite(ByteBuffer)
chunk
- data to writejava.io.IOException
- an underlying I/O error occurredint doWrite(java.nio.ByteBuffer chunk) throws java.io.IOException
chunk
- data to writejava.io.IOException
- an underlying I/O error occurredlong getBytesWritten()
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.