Package org.apache.http.impl
Class DefaultHttpClientConnection
java.lang.Object
org.apache.http.impl.AbstractHttpClientConnection
org.apache.http.impl.SocketHttpClientConnection
org.apache.http.impl.DefaultHttpClientConnection
- All Implemented Interfaces:
HttpClientConnection,HttpConnection,HttpInetConnection
public class DefaultHttpClientConnection extends SocketHttpClientConnection
Default implementation of a client-side HTTP connection.
- Since:
- 4.0
- Version:
- $Revision: 561083 $
- Author:
- Oleg Kalnichevski
-
Constructor Summary
Constructors Constructor Description DefaultHttpClientConnection() -
Method Summary
Modifier and Type Method Description voidbind(Socket socket, HttpParams params)StringtoString()Returns a string containing a concise, human-readable description of this object.Methods inherited from class org.apache.http.impl.SocketHttpClientConnection
assertNotOpen, assertOpen, close, createSessionInputBuffer, createSessionOutputBuffer, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, isOpen, setSocketTimeout, shutdownMethods inherited from class org.apache.http.impl.AbstractHttpClientConnection
createEntityDeserializer, createEntitySerializer, createHttpResponseFactory, createRequestWriter, createResponseParser, doFlush, flush, getMetrics, init, isResponseAvailable, isStale, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.http.HttpConnection
getMetrics, isStale
-
Constructor Details
-
DefaultHttpClientConnection
public DefaultHttpClientConnection()
-
-
Method Details
-
bind
- Overrides:
bindin classSocketHttpClientConnection- Throws:
IOException
-
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-