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)OutputBufferdoWrite in interface OutputBufferchunk - data to writeIOException - an underlying I/O error occurredpublic int doWrite(ByteBuffer chunk) throws IOException
OutputBufferdoWrite in interface OutputBufferchunk - data to writeIOException - an underlying I/O error occurredpublic long getBytesWritten()
OutputBuffergetBytesWritten in interface OutputBufferCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.