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.
SessionOutputBuffer implementation bound to a Socket.
Since:
4.0
  • Constructor Details

    • SocketOutputBuffer

      public SocketOutputBuffer(Socket socket, int buffersize, HttpParams params) throws 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 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.
      Throws:
      IOException