org.apache.http.nio.conn
Interface ManagedAsyncClientConnection
- All Superinterfaces:
- ConnectionReleaseTrigger, HttpConnection, HttpInetConnection, HttpRoutedConnection, org.apache.http.nio.IOControl, org.apache.http.nio.NHttpClientConnection, org.apache.http.nio.NHttpConnection
public interface ManagedAsyncClientConnection
- extends HttpRoutedConnection, org.apache.http.nio.NHttpClientConnection, ConnectionReleaseTrigger
Fields inherited from interface org.apache.http.nio.NHttpConnection |
ACTIVE, CLOSED, CLOSING |
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.nio.IOControl |
requestInput, requestOutput, shutdown, suspendInput, suspendOutput |
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-2011 The Apache Software Foundation. All Rights Reserved.