Top Description Constructors Methods
org.apache.http.impl.io

public Class SocketOutputBuffer

extends AbstractSessionOutputBuffer
Class Inheritance
Annotations
@Deprecated
Imports
java.io.IOException, java.net.Socket, org.apache.http.params.HttpParams, org.apache.http.util.Args

Deprecated

(4.3) use SessionOutputBufferImpl

org.apache.http.io.SessionOutputBuffer implementation bound to a Socket.
Since
4.0

Constructor Summary

AccessConstructor and Description
public
SocketOutputBuffer(final Socket
the socket to write data to.
socket
,
final int
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.
bufferSize
,
final HttpParams
HTTP parameters.
params
)

Deprecated as a consequence of HttpParams being deprecated.
Creates an instance of this class.

Method Summary

Inherited from org.apache.http.impl.io.AbstractSessionOutputBuffer:
availablecapacitycreateTransportMetricsflushflushBuffergetMetricsinitlengthwritewritewritewriteLinewriteLine

Constructor Detail

SocketOutputBufferback to summary
public SocketOutputBuffer(final Socket socket, final int bufferSize, final HttpParams params) throws IOException

Deprecated

as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Creates an instance of this class.

Parameters
socket:Socket

the socket to write data to.

bufferSize:int

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:HttpParams

HTTP parameters.