Package org.apache.http.impl
Class DefaultHttpServerConnection
java.lang.Object
org.apache.http.impl.AbstractHttpServerConnection
org.apache.http.impl.SocketHttpServerConnection
org.apache.http.impl.DefaultHttpServerConnection
- All Implemented Interfaces:
HttpConnection,HttpInetConnection,HttpServerConnection
public class DefaultHttpServerConnection extends SocketHttpServerConnection
Default implementation of a server-side HTTP connection.
- Since:
- 4.0
- Version:
- $Revision: 561083 $
- Author:
- Oleg Kalnichevski
-
Constructor Summary
Constructors Constructor Description DefaultHttpServerConnection() -
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.SocketHttpServerConnection
assertNotOpen, assertOpen, close, createHttpDataReceiver, createHttpDataTransmitter, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, isOpen, setSocketTimeout, shutdownMethods inherited from class org.apache.http.impl.AbstractHttpServerConnection
createEntityDeserializer, createEntitySerializer, createHttpRequestFactory, createRequestParser, createResponseWriter, doFlush, flush, getMetrics, init, isStale, receiveRequestEntity, receiveRequestHeader, sendResponseEntity, sendResponseHeaderMethods 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
-
DefaultHttpServerConnection
public DefaultHttpServerConnection()
-
-
Method Details
-
bind
- Overrides:
bindin classSocketHttpServerConnection- 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.
-