Class BasicRouteDirector

    • Constructor Detail

      • BasicRouteDirector

        public BasicRouteDirector()
    • Method Detail

      • nextStep

        public int nextStep​(RouteInfo plan,
                            RouteInfo fact)
        Provides the next step.
        Specified by:
        nextStep in interface HttpRouteDirector
        plan - the planned route
        fact - the currently established route, or null if nothing is established
        one of the constants defined in this class, indicating either the next step to perform, or success, or failure. 0 is for success, a negative value for failure.