| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.plugins.routing |
| Modifier and Type | Method and Description |
|---|---|
RouteHandlerMatch<R> |
RoutingRequestContextAddon.getCurrentRouteHandlerMatch()
The current route handler being run (may be a filter) and its
associated information.
|
RouteHandlerMatch<R> |
RoutingResult.getMainRouteHandlerMatch()
The main route handler and its information, from the routing result.
|
| Modifier and Type | Method and Description |
|---|---|
List<RouteHandlerMatch<R>> |
RoutingResult.getRouteHandlerMatches()
The handlers matching the route (a main handler + filters, if any),
in order they have to be called.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RouteHandlerMatchDefault<R extends RequestContext<?>> |
| Modifier and Type | Method and Description |
|---|---|
RouteHandlerMatch<R> |
RouteHandlerMatchFactory.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.
|
RouteHandlerMatch<R> |
SpincastRoutingRequestContextAddon.getCurrentRouteHandlerMatch() |
protected RouteHandlerMatch<R> |
SpincastRoutingRequestContextAddon.getCurrentRouteMatch() |
RouteHandlerMatch<R> |
RoutingResultDefault.getMainRouteHandlerMatch() |
| Modifier and Type | Method and Description |
|---|---|
protected 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.
|
List<RouteHandlerMatch<R>> |
RoutingResultDefault.getRouteHandlerMatches() |
protected Class<? extends RouteHandlerMatch> |
SpincastRoutingPluginModule.getRouteHandlerMatchImplClass() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected RoutingResult<R> |
SpincastRouter.createRoutingResult(List<RouteHandlerMatch<R>> routeHandlerMatches) |
| Constructor and Description |
|---|
RoutingResultDefault(List<RouteHandlerMatch<R>> routeHandlerMatches) |
Copyright © 2018. All rights reserved.