Package org.spincast.core.routing
Interface RoutingResult<R extends RequestContext<?>>
- All Known Implementing Classes:
RoutingResultDefault
public interface RoutingResult<R extends RequestContext<?>>
The result of the router, when asked to find matches for
a request.
-
Method Summary
Modifier and TypeMethodDescriptionThe main route handler and its information, from the routing result.The handlers matching the route (a main handler + filters, if any), in order they have to be called.
-
Method Details
-
getRouteHandlerMatches
List<RouteHandlerMatch<R>> getRouteHandlerMatches()The handlers matching the route (a main handler + filters, if any), in order they have to be called. -
getMainRouteHandlerMatch
RouteHandlerMatch<R> getMainRouteHandlerMatch()The main route handler and its information, from the routing result.
-