java.lang.Object | |||
↳ | org.apache.http.impl.AbstractHttpClientConnection | ||
↳ | org.apache.http.impl.SocketHttpClientConnection | ||
↳ | org.apache.http.impl.DefaultHttpClientConnection |
Default implementation of a client-side HTTP connection.
The following parameters can be used to customize the behavior of this class:
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Binds this connection to the given
Socket . | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.impl.SocketHttpClientConnection
| |||||||||||
From class
org.apache.http.impl.AbstractHttpClientConnection
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.HttpClientConnection
| |||||||||||
From interface
org.apache.http.HttpConnection
| |||||||||||
From interface
org.apache.http.HttpInetConnection
|
Binds this connection to the given Socket
. This socket will be
used by the connection to send and receive data.
This method will invoke createSessionInputBuffer(Socket, int, HttpParams)
and createSessionOutputBuffer(Socket, int, HttpParams)
methods
to create session input / output buffers bound to this socket and then
will invoke init(SessionInputBuffer, SessionOutputBuffer, HttpParams)
method to pass references to those buffers to the underlying HTTP message
parser and formatter.
After this method's execution the connection status will be reported
as open and the isOpen()
will return true
.
socket | the socket. |
---|---|
params | HTTP parameters. |
IOException |
---|