| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpRouteDirector
Provides directions on establishing a route. Implementations of this interface compare a planned route with a tracked route and indicate the next step required.
| Field Summary | |
|---|---|
| static int | COMPLETEIndicates that the route is complete. | 
| static int | CONNECT_PROXYStep: open connection to proxy. | 
| static int | CONNECT_TARGETStep: open connection to target. | 
| static int | LAYER_PROTOCOLStep: layer protocol (over tunnel). | 
| static int | TUNNEL_PROXYStep: tunnel through proxy to other proxy. | 
| static int | TUNNEL_TARGETStep: tunnel through proxy to target. | 
| static int | UNREACHABLEIndicates that the route can not be established at all. | 
| Method Summary | |
|---|---|
|  int | nextStep(RouteInfo plan,
         RouteInfo fact)Provides the next step. | 
| Field Detail | 
|---|
static final int UNREACHABLE
static final int COMPLETE
static final int CONNECT_TARGET
static final int CONNECT_PROXY
static final int TUNNEL_TARGET
static final int TUNNEL_PROXY
static final int LAYER_PROTOCOL
| Method Detail | 
|---|
int nextStep(RouteInfo plan,
             RouteInfo fact)
plan - the planned routefact - the currently established route, or
                  null if nothing is established
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||