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 Details

  • Constructor Details

  • Method Details

    • getPoolEntry

      HttpPoolEntry getPoolEntry()
      Deprecated.
    • detach

      HttpPoolEntry detach()
      Deprecated.
    • getManager

      public ClientAsyncConnectionManager getManager()
      Deprecated.
    • getConnection

      private ClientAsyncConnection getConnection()
      Deprecated.
    • ensureConnection

      private ClientAsyncConnection ensureConnection()
      Deprecated.
    • ensurePoolEntry

      private HttpPoolEntry ensurePoolEntry()
      Deprecated.
    • close

      public void close() throws IOException
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.apache.http.HttpConnection
      Throws:
      IOException
    • shutdown

      public void shutdown() throws IOException
      Deprecated.
      Specified by:
      shutdown in interface org.apache.http.HttpConnection
      Specified by:
      shutdown in interface org.apache.http.nio.IOControl
      Throws:
      IOException
    • isOpen

      public boolean isOpen()
      Deprecated.
      Specified by:
      isOpen in interface org.apache.http.HttpConnection
    • isStale

      public boolean isStale()
      Deprecated.
      Specified by:
      isStale in interface org.apache.http.HttpConnection
    • setSocketTimeout

      public void setSocketTimeout(int timeout)
      Deprecated.
      Specified by:
      setSocketTimeout in interface org.apache.http.HttpConnection
    • getSocketTimeout

      public int getSocketTimeout()
      Deprecated.
      Specified by:
      getSocketTimeout in interface org.apache.http.HttpConnection
    • getMetrics

      public org.apache.http.HttpConnectionMetrics getMetrics()
      Deprecated.
      Specified by:
      getMetrics in interface org.apache.http.HttpConnection
    • getLocalAddress

      public InetAddress getLocalAddress()
      Deprecated.
      Specified by:
      getLocalAddress in interface org.apache.http.HttpInetConnection
    • getLocalPort

      public int getLocalPort()
      Deprecated.
      Specified by:
      getLocalPort in interface org.apache.http.HttpInetConnection
    • getRemoteAddress

      public InetAddress getRemoteAddress()
      Deprecated.
      Specified by:
      getRemoteAddress in interface org.apache.http.HttpInetConnection
    • getRemotePort

      public int getRemotePort()
      Deprecated.
      Specified by:
      getRemotePort in interface org.apache.http.HttpInetConnection
    • getStatus

      public int getStatus()
      Deprecated.
      Specified by:
      getStatus in interface org.apache.http.nio.NHttpConnection
    • getHttpRequest

      public org.apache.http.HttpRequest getHttpRequest()
      Deprecated.
      Specified by:
      getHttpRequest in interface org.apache.http.nio.NHttpConnection
    • getHttpResponse

      public org.apache.http.HttpResponse getHttpResponse()
      Deprecated.
      Specified by:
      getHttpResponse in interface org.apache.http.nio.NHttpConnection
    • getContext

      public org.apache.http.protocol.HttpContext getContext()
      Deprecated.
      Specified by:
      getContext in interface org.apache.http.nio.NHttpConnection
    • requestInput

      public void requestInput()
      Deprecated.
      Specified by:
      requestInput in interface org.apache.http.nio.IOControl
    • suspendInput

      public void suspendInput()
      Deprecated.
      Specified by:
      suspendInput in interface org.apache.http.nio.IOControl
    • requestOutput

      public void requestOutput()
      Deprecated.
      Specified by:
      requestOutput in interface org.apache.http.nio.IOControl
    • suspendOutput

      public void suspendOutput()
      Deprecated.
      Specified by:
      suspendOutput in interface org.apache.http.nio.IOControl
    • submitRequest

      public void submitRequest(org.apache.http.HttpRequest request) throws IOException, org.apache.http.HttpException
      Deprecated.
      Specified by:
      submitRequest in interface org.apache.http.nio.NHttpClientConnection
      Throws:
      IOException
      org.apache.http.HttpException
    • isRequestSubmitted

      public boolean isRequestSubmitted()
      Deprecated.
      Specified by:
      isRequestSubmitted in interface org.apache.http.nio.NHttpClientConnection
    • resetOutput

      public void resetOutput()
      Deprecated.
      Specified by:
      resetOutput in interface org.apache.http.nio.NHttpClientConnection
    • resetInput

      public void resetInput()
      Deprecated.
      Specified by:
      resetInput in interface org.apache.http.nio.NHttpClientConnection
    • isSecure

      public boolean isSecure()
      Deprecated.
      Specified by:
      isSecure in interface org.apache.http.conn.HttpRoutedConnection
    • getRoute

      public org.apache.http.conn.routing.HttpRoute getRoute()
      Deprecated.
      Specified by:
      getRoute in interface org.apache.http.conn.HttpRoutedConnection
    • getSSLSession

      public SSLSession getSSLSession()
      Deprecated.
      Specified by:
      getSSLSession in interface org.apache.http.conn.HttpRoutedConnection
    • getState

      public Object getState()
      Deprecated.
      Specified by:
      getState in interface ManagedClientAsyncConnection
    • setState

      public void setState(Object state)
      Deprecated.
      Specified by:
      setState in interface ManagedClientAsyncConnection
    • markReusable

      public void markReusable()
      Deprecated.
      Specified by:
      markReusable in interface ManagedClientAsyncConnection
    • unmarkReusable

      public void unmarkReusable()
      Deprecated.
      Specified by:
      unmarkReusable in interface ManagedClientAsyncConnection
    • isMarkedReusable

      public boolean isMarkedReusable()
      Deprecated.
      Specified by:
      isMarkedReusable in interface ManagedClientAsyncConnection
    • setIdleDuration

      public void setIdleDuration(long duration, TimeUnit unit)
      Deprecated.
      Specified by:
      setIdleDuration in interface ManagedClientAsyncConnection
    • getSchemeRegistry

      private AsyncSchemeRegistry getSchemeRegistry(org.apache.http.protocol.HttpContext context)
      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 interface ManagedClientAsyncConnection
      Throws:
      IOException
    • tunnelProxy

      public void tunnelProxy(org.apache.http.HttpHost next, org.apache.http.params.HttpParams params) throws IOException
      Deprecated.
      Specified by:
      tunnelProxy in interface ManagedClientAsyncConnection
      Throws:
      IOException
    • tunnelTarget

      public void tunnelTarget(org.apache.http.params.HttpParams params) throws IOException
      Deprecated.
      Specified by:
      tunnelTarget in interface ManagedClientAsyncConnection
      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 interface ManagedClientAsyncConnection
      Throws:
      IOException
    • releaseConnection

      public void releaseConnection()
      Deprecated.
      Specified by:
      releaseConnection in interface org.apache.http.conn.ConnectionReleaseTrigger
    • abortConnection

      public void abortConnection()
      Deprecated.
      Specified by:
      abortConnection in interface org.apache.http.conn.ConnectionReleaseTrigger
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object