OutputBuffer
protected class AjpProcessor.SocketOutputBuffer extends java.lang.Object implements OutputBuffer
Modifier | Constructor | Description |
---|---|---|
protected |
SocketOutputBuffer() |
Modifier and Type | Method | Description |
---|---|---|
int |
doWrite(java.nio.ByteBuffer chunk) |
Write the given data to the response.
|
long |
getBytesWritten() |
Bytes written to the underlying socket.
|
public int doWrite(java.nio.ByteBuffer chunk) throws java.io.IOException
OutputBuffer
doWrite
in interface OutputBuffer
chunk
- data to writejava.io.IOException
- an underlying I/O error occurredpublic long getBytesWritten()
OutputBuffer
getBytesWritten
in interface OutputBuffer
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.