public class RouteHandlerMatchDefault<R extends RequestContext<?>> extends Object implements RouteHandlerMatch<R>
| Constructor and Description |
|---|
RouteHandlerMatchDefault(Route<R> sourceRoute,
Handler<R> routeHandler,
Map<String,String> params,
int position) |
| Modifier and Type | Method and Description |
|---|---|
Handler<R> |
getHandler()
The route handler.
|
Map<String,String> |
getPathParams()
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.
|
Route<R> |
getSourceRoute()
The route associated with this match.
|
String |
toString() |
public Route<R> getSourceRoute()
RouteHandlerMatchgetSourceRoute in interface RouteHandlerMatch<R extends RequestContext<?>>public Handler<R> getHandler()
RouteHandlerMatchgetHandler in interface RouteHandlerMatch<R extends RequestContext<?>>public Map<String,String> getPathParams()
RouteHandlerMatchgetPathParams in interface RouteHandlerMatch<R extends RequestContext<?>>public int getPosition()
RouteHandlerMatchgetPosition in interface RouteHandlerMatch<R extends RequestContext<?>>Copyright © 2018. All rights reserved.