protected class AjpProcessor.SocketOutputBuffer extends Object implements OutputBuffer
Modifier | Constructor and Description |
---|---|
protected |
AjpProcessor.SocketOutputBuffer() |
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 public int doWrite(ByteChunk chunk) throws IOException
doWrite(ByteBuffer)
OutputBuffer
doWrite
in interface OutputBuffer
chunk
- data to writeIOException
- an underlying I/O error occurredpublic int doWrite(ByteBuffer chunk) throws IOException
OutputBuffer
doWrite
in interface OutputBuffer
chunk
- data to writeIOException
- an underlying I/O error occurredpublic long getBytesWritten()
OutputBuffer
getBytesWritten
in interface OutputBuffer
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.