Java org.apache.http.conn ManagedClientConnection fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.conn ManagedClientConnection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.conn ManagedClientConnection.

The text is from its open source code.

Implementation

org.apache.http.conn.ManagedClientConnection has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidabortConnection()
Releases the connection without the option of keep-alive.
voidbind(Socket socket)
Binds this connection to the given socket.
voidclose()
voidflush()
StringgetId()
Returns connection ID which is expected to be unique for the life span of the connection manager.
InetAddressgetLocalAddress()
intgetLocalPort()
HttpConnectionMetricsgetMetrics()
InetAddressgetRemoteAddress()
intgetRemotePort()
HttpRoutegetRoute()
Obtains the current route of this connection.
SocketgetSocket()
Returns the underlying socket.
intgetSocketTimeout()
SSLSessiongetSSLSession()
Obtains the SSL session of the underlying connection, if any.
ObjectgetState()
Returns the state object associated with this connection.
booleanisMarkedReusable()
Indicates whether this connection is in a reusable communication state.
booleanisOpen()
booleanisResponseAvailable(int i)
booleanisSecure()
Indicates whether this connection is secure.
booleanisStale()
voidlayerProtocol(HttpContext context, HttpParams params)
Layers a new protocol on top of a #tunnelTarget tunnelled connection.
voidmarkReusable()
Marks this connection as being in a reusable communication state.
voidopen(HttpRoute route, HttpContext context, HttpParams params)
Opens this connection according to the given route.
voidreceiveResponseEntity(HttpResponse httpResponse)
HttpResponsereceiveResponseHeader()
voidreleaseConnection()
Releases the connection with the option of keep-alive.
voidsendRequestEntity(HttpEntityEnclosingRequest httpEntityEnclosingRequest)
voidsendRequestHeader(HttpRequest httpRequest)
voidsetIdleDuration(long duration, TimeUnit unit)
Sets the duration that this connection can remain idle before it is reused.
voidsetSocketTimeout(int i)
voidsetState(Object state)
Assigns a state object to this connection.
voidshutdown()
voidtunnelProxy(HttpHost next, boolean secure, HttpParams params)
Indicates that a tunnel to an intermediate proxy has been established.
voidtunnelTarget(boolean secure, HttpParams params)
Indicates that a tunnel to the target has been established.
voidunmarkReusable()
Marks this connection as not being in a reusable state.