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