|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HttpRoute | |
---|---|
org.apache.http.client | The API for client-side HTTP communication and entry point to the HttpClient module. |
org.apache.http.conn | The client-side connection management and handling API at the heart of what is referred to as HttpConn. |
org.apache.http.conn.params | Parameters for configuring HttpConn. |
org.apache.http.impl.client | |
org.apache.http.impl.conn | |
org.apache.http.impl.conn.tsccm | The implementation of a thread-safe client connection manager. |
Uses of HttpRoute in org.apache.http.client |
---|
Fields in org.apache.http.client declared as HttpRoute | |
---|---|
protected HttpRoute |
RoutedRequest.Impl.route
|
Methods in org.apache.http.client that return HttpRoute | |
---|---|
HttpRoute |
RoutedRequest.getRoute()
Obtains the route. |
HttpRoute |
RoutedRequest.Impl.getRoute()
|
Constructors in org.apache.http.client with parameters of type HttpRoute | |
---|---|
RoutedRequest.Impl(org.apache.http.HttpRequest req,
HttpRoute rou)
Creates a new routed request. |
Uses of HttpRoute in org.apache.http.conn |
---|
Methods in org.apache.http.conn that return HttpRoute | |
---|---|
HttpRoute |
HttpRoutePlanner.determineRoute(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Determines the route for a request. |
HttpRoute |
ManagedClientConnection.getRoute()
Obtains the current route of this connection. |
HttpRoute |
RouteTracker.toRoute()
Obtains the tracked route. |
Methods in org.apache.http.conn with parameters of type HttpRoute | |
---|---|
protected int |
BasicRouteDirector.directStep(HttpRoute plan,
HttpRoute fact)
Determines the next step to establish a direct connection. |
protected int |
BasicRouteDirector.firstStep(HttpRoute plan)
Determines the first step to establish a route. |
ManagedClientConnection |
ClientConnectionManager.getConnection(HttpRoute route)
Obtains a connection. |
ManagedClientConnection |
ClientConnectionManager.getConnection(HttpRoute route,
long timeout)
Obtains a connection within a given time. |
int |
HttpRouteDirector.nextStep(HttpRoute plan,
HttpRoute fact)
Provides the next step. |
int |
BasicRouteDirector.nextStep(HttpRoute plan,
HttpRoute fact)
Provides the next step. |
void |
ManagedClientConnection.open(HttpRoute route,
org.apache.http.protocol.HttpContext context,
org.apache.http.params.HttpParams params)
Opens this connection according to the given route. |
protected int |
BasicRouteDirector.proxiedStep(HttpRoute plan,
HttpRoute fact)
Determines the next step to establish a connection via proxy. |
Constructors in org.apache.http.conn with parameters of type HttpRoute | |
---|---|
RouteTracker(HttpRoute route)
Creates a new tracker for the given route. |
Uses of HttpRoute in org.apache.http.conn.params |
---|
Methods in org.apache.http.conn.params with parameters of type HttpRoute | |
---|---|
static int |
HttpConnectionManagerParams.getMaxConnectionsPerHost(org.apache.http.params.HttpParams params,
HttpRoute route)
Gets the maximum number of connections allowed for a specific route. |
static void |
HttpConnectionManagerParams.setMaxConnectionsPerHost(org.apache.http.params.HttpParams params,
HttpRoute route,
int max)
Sets the maximum number of connections to be used for a given route. |
Uses of HttpRoute in org.apache.http.impl.client |
---|
Methods in org.apache.http.impl.client with parameters of type HttpRoute | |
---|---|
protected ManagedClientConnection |
DefaultClientRequestDirector.allocateConnection(HttpRoute route,
long timeout)
Obtains a connection for the target route. |
protected org.apache.http.HttpRequest |
DefaultClientRequestDirector.createConnectRequest(HttpRoute route,
org.apache.http.protocol.HttpContext context)
Creates the CONNECT request for tunnelling. |
protected boolean |
DefaultClientRequestDirector.createTunnelToProxy(HttpRoute route,
int hop,
org.apache.http.protocol.HttpContext context)
Creates a tunnel to an intermediate proxy. |
protected boolean |
DefaultClientRequestDirector.createTunnelToTarget(HttpRoute route,
org.apache.http.protocol.HttpContext context)
Creates a tunnel to the target server. |
protected void |
DefaultClientRequestDirector.establishRoute(HttpRoute route,
org.apache.http.protocol.HttpContext context)
Establishes the target route. |
Uses of HttpRoute in org.apache.http.impl.conn |
---|
Fields in org.apache.http.impl.conn declared as HttpRoute | |
---|---|
protected HttpRoute |
AbstractPoolEntry.plannedRoute
The route for which this entry gets allocated. |
Methods in org.apache.http.impl.conn that return HttpRoute | |
---|---|
HttpRoute |
DefaultHttpRoutePlanner.determineRoute(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
|
HttpRoute |
AbstractPooledConnAdapter.getRoute()
|
Methods in org.apache.http.impl.conn with parameters of type HttpRoute | |
---|---|
ManagedClientConnection |
SingleClientConnManager.getConnection(HttpRoute route)
Obtains a connection. |
ManagedClientConnection |
SingleClientConnManager.getConnection(HttpRoute route,
long timeout)
Obtains a connection. |
void |
AbstractPooledConnAdapter.open(HttpRoute route,
org.apache.http.protocol.HttpContext context,
org.apache.http.params.HttpParams params)
|
void |
AbstractPoolEntry.open(HttpRoute route,
org.apache.http.protocol.HttpContext context,
org.apache.http.params.HttpParams params)
Opens the underlying connection. |
Constructors in org.apache.http.impl.conn with parameters of type HttpRoute | |
---|---|
AbstractPoolEntry(OperatedClientConnection occ,
HttpRoute route)
Creates a new pool entry. |
|
SingleClientConnManager.ConnAdapter(SingleClientConnManager.PoolEntry entry,
HttpRoute plan)
Creates a new connection adapter. |
Uses of HttpRoute in org.apache.http.impl.conn.tsccm |
---|
Methods in org.apache.http.impl.conn.tsccm that return HttpRoute | |
---|---|
protected HttpRoute |
BasicPoolEntry.getPlannedRoute()
|
HttpRoute |
RouteSpecificPool.getRoute()
Obtains the route for which this pool is specific. |
HttpRoute |
BasicPoolEntryRef.getRoute()
Obtain the planned route for the referenced entry. |
Methods in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute | |
---|---|
ManagedClientConnection |
ThreadSafeClientConnManager.getConnection(HttpRoute route)
|
ManagedClientConnection |
ThreadSafeClientConnManager.getConnection(HttpRoute route,
long timeout)
|
int |
ConnPoolByRoute.getConnectionsInPool(HttpRoute route)
|
int |
ThreadSafeClientConnManager.getConnectionsInPool(HttpRoute route)
Gets the total number of pooled connections for the given route. |
BasicPoolEntry |
ConnPoolByRoute.getEntry(HttpRoute route,
long timeout,
ClientConnectionOperator operator)
|
abstract BasicPoolEntry |
AbstractConnPool.getEntry(HttpRoute route,
long timeout,
ClientConnectionOperator operator)
Obtains a pool entry with a connection within the given timeout. |
protected RouteSpecificPool |
ConnPoolByRoute.getRoutePool(HttpRoute route,
boolean create)
Get a route-specific pool of available connections. |
protected void |
ConnPoolByRoute.handleLostEntry(HttpRoute route)
|
protected abstract void |
AbstractConnPool.handleLostEntry(HttpRoute route)
Handles cleaning up for a lost pool entry with the given route. |
protected RouteSpecificPool |
ConnPoolByRoute.newRouteSpecificPool(HttpRoute route)
Creates a new route-specific pool. |
Constructors in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute | |
---|---|
BasicPoolEntry(ClientConnectionOperator op,
HttpRoute route,
java.lang.ref.ReferenceQueue queue)
Creates a new pool entry. |
|
RouteSpecificPool(HttpRoute r)
Creates a new route-specific pool. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |