Package org.apache.http.impl.io
Class SocketOutputBuffer
java.lang.Object
org.apache.http.impl.io.AbstractSessionOutputBuffer
org.apache.http.impl.io.SocketOutputBuffer
- All Implemented Interfaces:
BufferInfo
,SessionOutputBuffer
Deprecated.
SessionOutputBuffer
implementation
bound to a Socket
.- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionSocketOutputBuffer
(Socket socket, int bufferSize, HttpParams params) Deprecated.Creates an instance of this class. -
Method Summary
Methods inherited from class org.apache.http.impl.io.AbstractSessionOutputBuffer
available, capacity, createTransportMetrics, flush, flushBuffer, getMetrics, init, length, write, write, write, writeLine, writeLine
-
Constructor Details
-
SocketOutputBuffer
Deprecated.Creates an instance of this class.- Parameters:
socket
- the socket to write data to.bufferSize
- the size of the internal buffer. If this number is less than0
it is set to the value ofSocket.getSendBufferSize()
. If resultant number is less than1024
it is set to1024
.params
- HTTP parameters.- Throws:
IOException
-
SessionOutputBufferImpl