| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.AbstractHttpClientConnection
org.apache.http.impl.SocketHttpClientConnection
org.apache.http.impl.DefaultHttpClientConnection
DefaultBHttpClientConnection
@Deprecated public class DefaultHttpClientConnection
Default implementation of a client-side HTTP connection.
| Constructor Summary | |
|---|---|
| DefaultHttpClientConnection()Deprecated. | |
| Method Summary | |
|---|---|
|  void | bind(Socket socket,
     HttpParams params)Deprecated. Binds this connection to the given Socket. | 
| Methods inherited from class org.apache.http.impl.SocketHttpClientConnection | 
|---|
| assertNotOpen, assertOpen, close, createSessionInputBuffer, createSessionOutputBuffer, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, isOpen, setSocketTimeout, shutdown, toString | 
| Methods inherited from class org.apache.http.impl.AbstractHttpClientConnection | 
|---|
| createConnectionMetrics, createEntityDeserializer, createEntitySerializer, createHttpResponseFactory, createRequestWriter, createResponseParser, doFlush, flush, getMetrics, init, isEof, isResponseAvailable, isStale, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.apache.http.HttpConnection | 
|---|
| getMetrics, isStale | 
| Constructor Detail | 
|---|
public DefaultHttpClientConnection()
| Method Detail | 
|---|
public void bind(Socket socket,
                 HttpParams params)
          throws IOException
SocketHttpClientConnectionSocket. This socket will be
 used by the connection to send and receive data.
 
 This method will invoke SocketHttpClientConnection.createSessionInputBuffer(Socket, int, HttpParams)
 and SocketHttpClientConnection.createSessionOutputBuffer(Socket, int, HttpParams) methods
 to create session input / output buffers bound to this socket and then
 will invoke AbstractHttpClientConnection.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 SocketHttpClientConnection.isOpen() will return true.
bind in class SocketHttpClientConnectionsocket - the socket.params - HTTP parameters.
IOException - in case of an I/O error.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||