public class

SocketOutputBuffer

extends AbstractSessionOutputBuffer
java.lang.Object
   ↳ org.apache.http.impl.io.AbstractSessionOutputBuffer
     ↳ org.apache.http.impl.io.SocketOutputBuffer

Class Overview

SessionOutputBuffer implementation bound to a Socket.

The following parameters can be used to customize the behavior of this class:

Summary

Public Constructors
SocketOutputBuffer(Socket socket, int buffersize, HttpParams params)
Creates an instance of this class.
[Expand]
Inherited Methods
From class org.apache.http.impl.io.AbstractSessionOutputBuffer
From class java.lang.Object
From interface org.apache.http.io.BufferInfo
From interface org.apache.http.io.SessionOutputBuffer

Public Constructors

public SocketOutputBuffer (Socket socket, int buffersize, HttpParams params)

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 getSendBufferSize(). If resultant number is less than 1024 it is set to 1024.
params HTTP parameters.
Throws
IOException