Package org.apache.http.impl.nio.conn
Class ManagedClientAsyncConnectionImpl
java.lang.Object
org.apache.http.impl.nio.conn.ManagedClientAsyncConnectionImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.http.conn.ConnectionReleaseTrigger
,org.apache.http.conn.HttpRoutedConnection
,org.apache.http.HttpConnection
,org.apache.http.HttpInetConnection
,ManagedClientAsyncConnection
,org.apache.http.nio.IOControl
,org.apache.http.nio.NHttpClientConnection
,org.apache.http.nio.NHttpConnection
@Deprecated
class ManagedClientAsyncConnectionImpl
extends Object
implements ManagedClientAsyncConnection
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientAsyncConnectionFactory
Deprecated.private long
Deprecated.private final ClientAsyncConnectionManager
Deprecated.private HttpPoolEntry
Deprecated.private boolean
Deprecated.Fields inherited from interface org.apache.http.nio.NHttpConnection
ACTIVE, CLOSED, CLOSING
-
Constructor Summary
ConstructorsConstructorDescriptionManagedClientAsyncConnectionImpl
(ClientAsyncConnectionManager manager, ClientAsyncConnectionFactory connFactory, HttpPoolEntry poolEntry) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
close()
Deprecated.(package private) HttpPoolEntry
detach()
Deprecated.private ClientAsyncConnection
Deprecated.private HttpPoolEntry
Deprecated.private ClientAsyncConnection
Deprecated.org.apache.http.protocol.HttpContext
Deprecated.org.apache.http.HttpRequest
Deprecated.org.apache.http.HttpResponse
Deprecated.Deprecated.int
Deprecated.Deprecated.org.apache.http.HttpConnectionMetrics
Deprecated.(package private) HttpPoolEntry
Deprecated.Deprecated.int
Deprecated.org.apache.http.conn.routing.HttpRoute
getRoute()
Deprecated.private AsyncSchemeRegistry
getSchemeRegistry
(org.apache.http.protocol.HttpContext context) Deprecated.int
Deprecated.Deprecated.getState()
Deprecated.int
Deprecated.boolean
Deprecated.boolean
isOpen()
Deprecated.boolean
Deprecated.boolean
isSecure()
Deprecated.boolean
isStale()
Deprecated.void
layerProtocol
(org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params) Deprecated.void
Deprecated.void
open
(org.apache.http.conn.routing.HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
setIdleDuration
(long duration, TimeUnit unit) Deprecated.void
setSocketTimeout
(int timeout) Deprecated.void
Deprecated.void
shutdown()
Deprecated.void
submitRequest
(org.apache.http.HttpRequest request) Deprecated.void
Deprecated.void
Deprecated.toString()
Deprecated.void
tunnelProxy
(org.apache.http.HttpHost next, org.apache.http.params.HttpParams params) Deprecated.void
tunnelTarget
(org.apache.http.params.HttpParams params) Deprecated.void
Deprecated.
-
Field Details
-
manager
Deprecated. -
connFactory
Deprecated. -
poolEntry
Deprecated. -
reusable
private volatile boolean reusableDeprecated. -
duration
private volatile long durationDeprecated.
-
-
Constructor Details
-
ManagedClientAsyncConnectionImpl
ManagedClientAsyncConnectionImpl(ClientAsyncConnectionManager manager, ClientAsyncConnectionFactory connFactory, HttpPoolEntry poolEntry) Deprecated.
-
-
Method Details
-
getPoolEntry
HttpPoolEntry getPoolEntry()Deprecated. -
detach
HttpPoolEntry detach()Deprecated. -
getManager
Deprecated. -
getConnection
Deprecated. -
ensureConnection
Deprecated. -
ensurePoolEntry
Deprecated. -
close
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.http.HttpConnection
- Throws:
IOException
-
shutdown
Deprecated.- Specified by:
shutdown
in interfaceorg.apache.http.HttpConnection
- Specified by:
shutdown
in interfaceorg.apache.http.nio.IOControl
- Throws:
IOException
-
isOpen
public boolean isOpen()Deprecated.- Specified by:
isOpen
in interfaceorg.apache.http.HttpConnection
-
isStale
public boolean isStale()Deprecated.- Specified by:
isStale
in interfaceorg.apache.http.HttpConnection
-
setSocketTimeout
public void setSocketTimeout(int timeout) Deprecated.- Specified by:
setSocketTimeout
in interfaceorg.apache.http.HttpConnection
-
getSocketTimeout
public int getSocketTimeout()Deprecated.- Specified by:
getSocketTimeout
in interfaceorg.apache.http.HttpConnection
-
getMetrics
public org.apache.http.HttpConnectionMetrics getMetrics()Deprecated.- Specified by:
getMetrics
in interfaceorg.apache.http.HttpConnection
-
getLocalAddress
Deprecated.- Specified by:
getLocalAddress
in interfaceorg.apache.http.HttpInetConnection
-
getLocalPort
public int getLocalPort()Deprecated.- Specified by:
getLocalPort
in interfaceorg.apache.http.HttpInetConnection
-
getRemoteAddress
Deprecated.- Specified by:
getRemoteAddress
in interfaceorg.apache.http.HttpInetConnection
-
getRemotePort
public int getRemotePort()Deprecated.- Specified by:
getRemotePort
in interfaceorg.apache.http.HttpInetConnection
-
getStatus
public int getStatus()Deprecated.- Specified by:
getStatus
in interfaceorg.apache.http.nio.NHttpConnection
-
getHttpRequest
public org.apache.http.HttpRequest getHttpRequest()Deprecated.- Specified by:
getHttpRequest
in interfaceorg.apache.http.nio.NHttpConnection
-
getHttpResponse
public org.apache.http.HttpResponse getHttpResponse()Deprecated.- Specified by:
getHttpResponse
in interfaceorg.apache.http.nio.NHttpConnection
-
getContext
public org.apache.http.protocol.HttpContext getContext()Deprecated.- Specified by:
getContext
in interfaceorg.apache.http.nio.NHttpConnection
-
requestInput
public void requestInput()Deprecated.- Specified by:
requestInput
in interfaceorg.apache.http.nio.IOControl
-
suspendInput
public void suspendInput()Deprecated.- Specified by:
suspendInput
in interfaceorg.apache.http.nio.IOControl
-
requestOutput
public void requestOutput()Deprecated.- Specified by:
requestOutput
in interfaceorg.apache.http.nio.IOControl
-
suspendOutput
public void suspendOutput()Deprecated.- Specified by:
suspendOutput
in interfaceorg.apache.http.nio.IOControl
-
submitRequest
public void submitRequest(org.apache.http.HttpRequest request) throws IOException, org.apache.http.HttpException Deprecated.- Specified by:
submitRequest
in interfaceorg.apache.http.nio.NHttpClientConnection
- Throws:
IOException
org.apache.http.HttpException
-
isRequestSubmitted
public boolean isRequestSubmitted()Deprecated.- Specified by:
isRequestSubmitted
in interfaceorg.apache.http.nio.NHttpClientConnection
-
resetOutput
public void resetOutput()Deprecated.- Specified by:
resetOutput
in interfaceorg.apache.http.nio.NHttpClientConnection
-
resetInput
public void resetInput()Deprecated.- Specified by:
resetInput
in interfaceorg.apache.http.nio.NHttpClientConnection
-
isSecure
public boolean isSecure()Deprecated.- Specified by:
isSecure
in interfaceorg.apache.http.conn.HttpRoutedConnection
-
getRoute
public org.apache.http.conn.routing.HttpRoute getRoute()Deprecated.- Specified by:
getRoute
in interfaceorg.apache.http.conn.HttpRoutedConnection
-
getSSLSession
Deprecated.- Specified by:
getSSLSession
in interfaceorg.apache.http.conn.HttpRoutedConnection
-
getState
Deprecated.- Specified by:
getState
in interfaceManagedClientAsyncConnection
-
setState
Deprecated.- Specified by:
setState
in interfaceManagedClientAsyncConnection
-
markReusable
public void markReusable()Deprecated.- Specified by:
markReusable
in interfaceManagedClientAsyncConnection
-
unmarkReusable
public void unmarkReusable()Deprecated.- Specified by:
unmarkReusable
in interfaceManagedClientAsyncConnection
-
isMarkedReusable
public boolean isMarkedReusable()Deprecated.- Specified by:
isMarkedReusable
in interfaceManagedClientAsyncConnection
-
setIdleDuration
Deprecated.- Specified by:
setIdleDuration
in interfaceManagedClientAsyncConnection
-
getSchemeRegistry
Deprecated. -
open
public void open(org.apache.http.conn.routing.HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params) throws IOException Deprecated.- Specified by:
open
in interfaceManagedClientAsyncConnection
- Throws:
IOException
-
tunnelProxy
public void tunnelProxy(org.apache.http.HttpHost next, org.apache.http.params.HttpParams params) throws IOException Deprecated.- Specified by:
tunnelProxy
in interfaceManagedClientAsyncConnection
- Throws:
IOException
-
tunnelTarget
Deprecated.- Specified by:
tunnelTarget
in interfaceManagedClientAsyncConnection
- Throws:
IOException
-
layerProtocol
public void layerProtocol(org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params) throws IOException Deprecated.- Specified by:
layerProtocol
in interfaceManagedClientAsyncConnection
- Throws:
IOException
-
releaseConnection
public void releaseConnection()Deprecated.- Specified by:
releaseConnection
in interfaceorg.apache.http.conn.ConnectionReleaseTrigger
-
abortConnection
public void abortConnection()Deprecated.- Specified by:
abortConnection
in interfaceorg.apache.http.conn.ConnectionReleaseTrigger
-
toString
Deprecated.
-