| Package | Description |
|---|---|
| org.spincast.core.controllers | |
| org.spincast.core.routing | |
| org.spincast.plugins.routing |
| Modifier and Type | Method and Description |
|---|---|
protected 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 Type | Method and Description |
|---|---|
protected 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.
|
| Modifier and Type | Method and Description |
|---|---|
RoutingResult<R> |
RoutingRequestContextAddon.getRoutingResult()
The routing result for the current request,
as returned by the router.
|
RoutingResult<R> |
Router.route(R requestContext)
Find the route to use to handle the current request.
|
RoutingResult<R> |
Router.route(R requestContext,
RoutingType routingType)
Find the route to use to handle the current request, given the
specified routing type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RoutingResultDefault<R extends RequestContext<?>> |
| Modifier and Type | Method and Description |
|---|---|
protected RoutingResult<R> |
SpincastRouter.createRoutingResult(List<RouteHandlerMatch<R>> routeHandlerMatches) |
RoutingResult<R> |
SpincastRoutingRequestContextAddon.getRoutingResult() |
RoutingResult<R> |
SpincastRouter.route(R requestContext) |
RoutingResult<R> |
SpincastRouter.route(R requestContext,
RoutingType routingType) |
RoutingResult<R> |
SpincastRouter.route(R requestContext,
String fullUrl,
RoutingType routingType) |
Copyright © 2019. All rights reserved.