public class SpincastRoutingRequestContextAddon<R extends IRequestContext<R>> extends Object implements IRoutingRequestContextAddon<R>
| Constructor and Description |
|---|
SpincastRoutingRequestContextAddon(R requestContext) |
| Modifier and Type | Method and Description |
|---|---|
IRouteHandlerMatch<R> |
getCurrentRouteHandlerMatch()
The current route handler being run (may be a filter) and its
associated information.
|
protected IRouteHandlerMatch<R> |
getCurrentRouteMatch() |
int |
getPosition()
The current route handler position.
|
protected R |
getRequestContext() |
IRoutingResult<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 IRouteHandlerMatch<R> getCurrentRouteMatch()
public int getPosition()
IRoutingRequestContextAddongetPosition in interface IRoutingRequestContextAddon<R extends IRequestContext<R>>public IRouteHandlerMatch<R> getCurrentRouteHandlerMatch()
IRoutingRequestContextAddongetCurrentRouteHandlerMatch in interface IRoutingRequestContextAddon<R extends IRequestContext<R>>public IRoutingResult<R> getRoutingResult()
IRoutingRequestContextAddongetRoutingResult in interface IRoutingRequestContextAddon<R extends IRequestContext<R>>public boolean isNotFoundRoute()
IRoutingRequestContextAddonisNotFoundRoute in interface IRoutingRequestContextAddon<R extends IRequestContext<R>>public boolean isExceptionRoute()
IRoutingRequestContextAddonisExceptionRoute in interface IRoutingRequestContextAddon<R extends IRequestContext<R>>public boolean isForwarded()
IRoutingRequestContextAddonisForwarded in interface IRoutingRequestContextAddon<R extends IRequestContext<R>>Copyright © 2016. All rights reserved.