Package org.forgerock.services.routing
Interface RouteMatch
-
public interface RouteMatchContains the result of routing to a particular route.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextdecorateContext(Context context)Decorates the given context with any routing information for the route.booleanisBetterMatchThan(RouteMatch result)Determines whether this route match is better than the given rout match.
-
-
-
Method Detail
-
isBetterMatchThan
boolean isBetterMatchThan(RouteMatch result) throws IncomparableRouteMatchException
Determines whether this route match is better than the given rout match.Implementation should check that the
RouteMatchcan be compared to this instance.- Parameters:
result- The other route match to compare to.- Returns:
trueif this route match is the better,falseotherwise.- Throws:
IncomparableRouteMatchException- If the providedRouteMatchcould not be compared thisRouteMatchinstance.
-
-