| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.plugins.routing |
| Modifier and Type | Method and Description |
|---|---|
IRouteHandlerMatch<R> |
IRoutingRequestContextAddon.getCurrentRouteHandlerMatch()
The current route handler being run (may be a filter) and its
associated information.
|
IRouteHandlerMatch<R> |
IRoutingResult.getMainRouteHandlerMatch()
The main route handler and its information, from the routing result.
|
| Modifier and Type | Method and Description |
|---|---|
List<IRouteHandlerMatch<R>> |
IRoutingResult.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 |
RouteHandlerMatch<R extends IRequestContext<?>> |
| Modifier and Type | Method and Description |
|---|---|
IRouteHandlerMatch<R> |
IRouteHandlerMatchFactory.create(IRoute<R> sourceRoute,
IHandler<R> routeHandler,
Map<String,String> params,
int position) |
protected IRouteHandlerMatch<R> |
SpincastRouter.createHandlerMatchForBeforeOrAfterFilter(IRouteHandlerMatch<R> mainRouteHandlerMatch,
IHandler<R> beforeOrAfterMethod,
int position)
Creates a new match for a "before" or "after" handler specific
to a route.
|
protected IRouteHandlerMatch<R> |
SpincastRouter.createNoMatchingParamsHandlerMatch(IRoute<R> route,
String id,
IHandler<R> handler,
int position)
Creates an handler match with no matching params.
|
IRouteHandlerMatch<R> |
SpincastRoutingRequestContextAddon.getCurrentRouteHandlerMatch() |
protected IRouteHandlerMatch<R> |
SpincastRoutingRequestContextAddon.getCurrentRouteMatch() |
IRouteHandlerMatch<R> |
RoutingResult.getMainRouteHandlerMatch() |
| Modifier and Type | Method and Description |
|---|---|
protected List<IRouteHandlerMatch<R>> |
SpincastRouter.createRegularHandlerMatches(RoutingType routingType,
IRoute<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<IRouteHandlerMatch<R>> |
RoutingResult.getRouteHandlerMatches() |
protected Class<? extends IRouteHandlerMatch> |
SpincastRoutingPluginGuiceModule.getRouteHandlerMatchImplClass() |
| Modifier and Type | Method and Description |
|---|---|
protected IRouteHandlerMatch<R> |
SpincastRouter.createHandlerMatchForBeforeOrAfterFilter(IRouteHandlerMatch<R> mainRouteHandlerMatch,
IHandler<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 IRoutingResult<R> |
SpincastRouter.createRoutingResult(List<IRouteHandlerMatch<R>> routeHandlerMatches) |
| Constructor and Description |
|---|
RoutingResult(List<IRouteHandlerMatch<R>> routeHandlerMatches) |
Copyright © 2016. All rights reserved.