Package org.spincast.plugins.routing
Class RouteHandlerMatchDefault<R extends RequestContext<?>>
java.lang.Object
org.spincast.plugins.routing.RouteHandlerMatchDefault<R>
- All Implemented Interfaces:
RouteHandlerMatch<R>
public class RouteHandlerMatchDefault<R extends RequestContext<?>>
extends Object
implements RouteHandlerMatch<R>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe route handler.The values parsed from the URL, given the dynamic parameters of the route's path, if any.int
The position the handler should be run at.The route associated with this match.toString()
-
Constructor Details
-
RouteHandlerMatchDefault
-
-
Method Details
-
getSourceRoute
Description copied from interface:RouteHandlerMatch
The route associated with this match.- Specified by:
getSourceRoute
in interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
getHandler
Description copied from interface:RouteHandlerMatch
The route handler.- Specified by:
getHandler
in interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
getPathParams
Description copied from interface:RouteHandlerMatch
The values parsed from the URL, given the dynamic parameters of the route's path, if any.- Specified by:
getPathParams
in interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
getPosition
public int getPosition()Description copied from interface:RouteHandlerMatch
The position the handler should be run at.- Specified by:
getPosition
in interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
toString
-