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 public class SocketOutputBuffer extends AbstractSessionOutputBuffer
Deprecated.(4.3) useSessionOutputBufferImpl
SessionOutputBuffer
implementation bound to aSocket
.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description SocketOutputBuffer(java.net.Socket socket, int buffersize, HttpParams params)
Deprecated.Creates an instance of this class.
-
-
-
Constructor Detail
-
SocketOutputBuffer
public SocketOutputBuffer(java.net.Socket socket, int buffersize, HttpParams params) throws java.io.IOException
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:
java.io.IOException
-
-