public class RouteHandlerMatch<R extends IRequestContext<?>> extends Object implements IRouteHandlerMatch<R>
| Constructor and Description |
|---|
RouteHandlerMatch(IRoute<R> sourceRoute,
IHandler<R> routeHandler,
Map<String,String> params,
int position) |
| Modifier and Type | Method and Description |
|---|---|
IHandler<R> |
getHandler()
The route handler.
|
Map<String,String> |
getParameters()
The values parsed from the URL, given
the dynamic parameters of the route's path, if any.
|
int |
getPosition()
The position the handler should be run at.
|
IRoute<R> |
getSourceRoute()
The route associated with this match.
|
String |
toString() |
public IRoute<R> getSourceRoute()
IRouteHandlerMatchgetSourceRoute in interface IRouteHandlerMatch<R extends IRequestContext<?>>public IHandler<R> getHandler()
IRouteHandlerMatchgetHandler in interface IRouteHandlerMatch<R extends IRequestContext<?>>public Map<String,String> getParameters()
IRouteHandlerMatchgetParameters in interface IRouteHandlerMatch<R extends IRequestContext<?>>public int getPosition()
IRouteHandlerMatchgetPosition in interface IRouteHandlerMatch<R extends IRequestContext<?>>Copyright © 2016. All rights reserved.