org.apache.http.nio.conn
Interface ManagedClientAsyncConnection

All Superinterfaces:
Closeable, ConnectionReleaseTrigger, HttpConnection, HttpInetConnection, HttpRoutedConnection, org.apache.http.nio.IOControl, org.apache.http.nio.NHttpClientConnection, org.apache.http.nio.NHttpConnection

public interface ManagedClientAsyncConnection
extends HttpRoutedConnection, org.apache.http.nio.NHttpClientConnection, ConnectionReleaseTrigger


Field Summary
 
Fields inherited from interface org.apache.http.nio.NHttpConnection
ACTIVE, CLOSED, CLOSING
 
Method Summary
 Object getState()
           
 boolean isMarkedReusable()
           
 void layerProtocol(HttpContext context, HttpParams params)
           
 void markReusable()
           
 void open(HttpRoute route, HttpContext context, HttpParams params)
           
 void setIdleDuration(long duration, TimeUnit tunit)
           
 void setState(Object state)
           
 void tunnelProxy(HttpHost next, HttpParams params)
           
 void tunnelTarget(HttpParams params)
           
 void unmarkReusable()
           
 
Methods inherited from interface org.apache.http.conn.HttpRoutedConnection
getRoute, getSSLSession, isSecure
 
Methods inherited from interface org.apache.http.HttpInetConnection
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
 
Methods inherited from interface org.apache.http.HttpConnection
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
 
Methods inherited from interface org.apache.http.nio.NHttpClientConnection
isRequestSubmitted, resetInput, resetOutput, submitRequest
 
Methods inherited from interface org.apache.http.nio.NHttpConnection
getContext, getHttpRequest, getHttpResponse, getStatus
 
Methods inherited from interface org.apache.http.HttpConnection
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
 
Methods inherited from interface org.apache.http.nio.IOControl
requestInput, requestOutput, shutdown, suspendInput, suspendOutput
 
Methods inherited from interface org.apache.http.conn.ConnectionReleaseTrigger
abortConnection, releaseConnection
 

Method Detail

getState

Object getState()

setState

void setState(Object state)

markReusable

void markReusable()

unmarkReusable

void unmarkReusable()

isMarkedReusable

boolean isMarkedReusable()

open

void open(HttpRoute route,
          HttpContext context,
          HttpParams params)
          throws IOException
Throws:
IOException

tunnelTarget

void tunnelTarget(HttpParams params)
                  throws IOException
Throws:
IOException

tunnelProxy

void tunnelProxy(HttpHost next,
                 HttpParams params)
                 throws IOException
Throws:
IOException

layerProtocol

void layerProtocol(HttpContext context,
                   HttpParams params)
                   throws IOException
Throws:
IOException

setIdleDuration

void setIdleDuration(long duration,
                     TimeUnit tunit)


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.