Uses of Interface
org.spincast.core.routing.RoutingResult
Package
Description
-
Uses of RoutingResult in org.spincast.core.controllers
Modifier and TypeMethodDescriptionprotected RoutingResult<R>
SpincastFrontController.findRouteMatch
(R requestContext) Find the route handlers to call.protected RoutingResult<R>
SpincastFrontController.prepareNotFoundRouting
(Object exchange, R requestContext) Prepares a direct Not Found routing.protected RoutingResult<R>
SpincastFrontController.prepareNotFoundRouting
(Object exchange, R requestContext, boolean alreadyTried) Prepares a direct Not Found routing.Modifier and TypeMethodDescriptionprotected void
SpincastFrontController.callRouteHandlers
(R requestContext, RoutingResult<R> routingResult) Call the handlers, in order they are specified.protected void
SpincastFrontController.customExceptionHandling
(Throwable ex, R requestContext, RoutingResult<R> originalRoutingResult) Custom exception handling.protected void
SpincastFrontController.manageForwardRouteException
(ForwardRouteException ex, R context, RoutingResult<R> originalRoutingResult) Manage a ForwardRouteException exception.protected void
SpincastFrontController.manageRedirectException
(RedirectException ex, R context, RoutingResult<R> routingResult) Manage a RedirectException exception. -
Uses of RoutingResult in org.spincast.core.routing
Modifier and TypeMethodDescriptionRoutingRequestContextAddon.getRoutingResult()
The routing result for the current request, as returned by the router.Find the route to use to handle the current request.Router.route
(R requestContext, RoutingType routingType) Find the route to use to handle the current request, given the specified routing type. -
Uses of RoutingResult in org.spincast.plugins.routing
Modifier and TypeMethodDescriptionprotected RoutingResult<R>
SpincastRouter.createRoutingResult
(List<RouteHandlerMatch<R>> routeHandlerMatches) SpincastRoutingRequestContextAddon.getRoutingResult()
SpincastRouter.route
(R requestContext, String fullUrl, RoutingType routingType) SpincastRouter.route
(R requestContext, RoutingType routingType)