| Package | Description |
|---|---|
| org.spincast.core.controllers | |
| org.spincast.core.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.
|
Copyright © 2018. All rights reserved.