Interface HttpRouteDirector

All Known Implementing Classes:
BasicRouteDirector

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.
Since:
4.0
Version:
$Revision: 620255 $
Author:
Roland Weber
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int COMPLETE
    Indicates that the route is complete.
    static int CONNECT_PROXY
    Step: open connection to proxy.
    static int CONNECT_TARGET
    Step: open connection to target.
    static int LAYER_PROTOCOL
    Step: layer protocol (over tunnel).
    static int TUNNEL_PROXY
    Step: tunnel through proxy to other proxy.
    static int TUNNEL_TARGET
    Step: tunnel through proxy to target.
    static int UNREACHABLE
    Indicates that the route can not be established at all.
  • Method Summary

    Modifier and Type Method Description
    int nextStep​(RouteInfo plan, RouteInfo fact)
    Provides the next step.