|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.conn.routing.BasicRouteDirector
@Contract(threading=IMMUTABLE) public class BasicRouteDirector
Basic HttpRouteDirector implementation.
| Field Summary |
|---|
| Fields inherited from interface org.apache.http.conn.routing.HttpRouteDirector |
|---|
COMPLETE, CONNECT_PROXY, CONNECT_TARGET, LAYER_PROTOCOL, TUNNEL_PROXY, TUNNEL_TARGET, UNREACHABLE |
| Constructor Summary | |
|---|---|
BasicRouteDirector()
|
|
| Method Summary | |
|---|---|
protected int |
directStep(RouteInfo plan,
RouteInfo fact)
Determines the next step to establish a direct connection. |
protected int |
firstStep(RouteInfo plan)
Determines the first step to establish a route. |
int |
nextStep(RouteInfo plan,
RouteInfo fact)
Provides the next step. |
protected int |
proxiedStep(RouteInfo plan,
RouteInfo fact)
Determines the next step to establish a connection via proxy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicRouteDirector()
| Method Detail |
|---|
public int nextStep(RouteInfo plan,
RouteInfo fact)
nextStep in interface HttpRouteDirectorplan - the planned routefact - the currently established route, or
null if nothing is established
protected int firstStep(RouteInfo plan)
plan - the planned route
protected int directStep(RouteInfo plan,
RouteInfo fact)
plan - the planned routefact - the currently established route
protected int proxiedStep(RouteInfo plan,
RouteInfo fact)
plan - the planned routefact - the currently established route
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||