SessionOutputBufferImpl
@Deprecated public class SocketOutputBuffer extends AbstractSessionOutputBuffer
SessionOutputBuffer
implementation
bound to a Socket
.Constructor and Description |
---|
SocketOutputBuffer(Socket socket,
int bufferSize,
HttpParams params)
Deprecated.
Creates an instance of this class.
|
available, capacity, createTransportMetrics, flush, flushBuffer, getMetrics, init, length, write, write, write, writeLine, writeLine
public SocketOutputBuffer(Socket socket, int bufferSize, HttpParams params) throws IOException
socket
- the socket to write data to.bufferSize
- the size of the internal buffer. If this number is less
than 0
it is set to the value of
Socket.getSendBufferSize()
. If resultant number is less
than 1024
it is set to 1024
.params
- HTTP parameters.IOException
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.