Uses of Interface
org.spincast.core.routing.RouteHandlerMatch
-
Uses of RouteHandlerMatch in org.spincast.core.routing
Modifier and TypeMethodDescriptionRoutingRequestContextAddon.getCurrentRouteHandlerMatch()
The current route handler being run (may be a filter) and its associated information.RoutingResult.getMainRouteHandlerMatch()
The main route handler and its information, from the routing result.Modifier and TypeMethodDescriptionRoutingResult.getRouteHandlerMatches()
The handlers matching the route (a main handler + filters, if any), in order they have to be called. -
Uses of RouteHandlerMatch in org.spincast.plugins.routing
Modifier and TypeMethodDescriptionRouteHandlerMatchFactory.create
(Route<R> sourceRoute, Handler<R> routeHandler, Map<String, String> params, int position) protected RouteHandlerMatch<R>
SpincastRouter.createHandlerMatchForBeforeOrAfterFilter
(RouteHandlerMatch<R> mainRouteHandlerMatch, Handler<R> beforeOrAfterMethod, int position) Creates a new match for a "before" or "after" handler specific to a route.protected RouteHandlerMatch<R>
SpincastRouter.createNoMatchingParamsHandlerMatch
(Route<R> route, String id, Handler<R> handler, int position) Creates an handler match with no matching params.SpincastRoutingRequestContextAddon.getCurrentRouteHandlerMatch()
protected RouteHandlerMatch<R>
SpincastRoutingRequestContextAddon.getCurrentRouteMatch()
RoutingResultDefault.getMainRouteHandlerMatch()
Modifier and TypeMethodDescriptionprotected List<RouteHandlerMatch<R>>
SpincastRouter.createRegularHandlerMatches
(RoutingType routingType, Route<R> route, HttpMethod httpMethod, List<String> acceptedContentTypes, URL url, int position) Get the matches (filters and main handle) if the route matches the URL and HTTP method, or returns NULL otherwise.RoutingResultDefault.getRouteHandlerMatches()
protected Class<? extends RouteHandlerMatch>
SpincastRoutingPluginModule.getRouteHandlerMatchImplClass()
Modifier and TypeMethodDescriptionprotected RouteHandlerMatch<R>
SpincastRouter.createHandlerMatchForBeforeOrAfterFilter
(RouteHandlerMatch<R> mainRouteHandlerMatch, Handler<R> beforeOrAfterMethod, int position) Creates a new match for a "before" or "after" handler specific to a route.Modifier and TypeMethodDescriptionprotected RoutingResult<R>
SpincastRouter.createRoutingResult
(List<RouteHandlerMatch<R>> routeHandlerMatches) ModifierConstructorDescriptionRoutingResultDefault
(List<RouteHandlerMatch<R>> routeHandlerMatches)