public class SpincastRoutingRequestContextAddon<R extends RequestContext<R>> extends Object implements RoutingRequestContextAddon<R>
| Constructor and Description |
|---|
SpincastRoutingRequestContextAddon(R requestContext) |
| Modifier and Type | Method and Description |
|---|---|
RouteHandlerMatch<R> |
getCurrentRouteHandlerMatch()
The current route handler being run (may be a filter) and its
associated information.
|
protected RouteHandlerMatch<R> |
getCurrentRouteMatch() |
int |
getPosition()
The current route handler position.
|
protected R |
getRequestContext() |
RoutingResult<R> |
getRoutingResult()
The routing result for the current request,
as returned by the router.
|
boolean |
isExceptionRoute()
Are we currently on an "Exception" routing type?
|
boolean |
isForwarded()
Is the current route forwarded?
|
boolean |
isNotFoundRoute()
Are we currently on a "Not Found" routing type?
|
@Inject public SpincastRoutingRequestContextAddon(R requestContext)
protected R getRequestContext()
protected RouteHandlerMatch<R> getCurrentRouteMatch()
public int getPosition()
RoutingRequestContextAddongetPosition in interface RoutingRequestContextAddon<R extends RequestContext<R>>public RouteHandlerMatch<R> getCurrentRouteHandlerMatch()
RoutingRequestContextAddongetCurrentRouteHandlerMatch in interface RoutingRequestContextAddon<R extends RequestContext<R>>public RoutingResult<R> getRoutingResult()
RoutingRequestContextAddongetRoutingResult in interface RoutingRequestContextAddon<R extends RequestContext<R>>public boolean isNotFoundRoute()
RoutingRequestContextAddonisNotFoundRoute in interface RoutingRequestContextAddon<R extends RequestContext<R>>public boolean isExceptionRoute()
RoutingRequestContextAddonisExceptionRoute in interface RoutingRequestContextAddon<R extends RequestContext<R>>public boolean isForwarded()
RoutingRequestContextAddonisForwarded in interface RoutingRequestContextAddon<R extends RequestContext<R>>Copyright © 2016. All rights reserved.