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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe route handler.The values parsed from the URL, given the dynamic parameters of the route's path, if any.intThe position the handler should be run at.The route associated with this match.toString()
-
Constructor Details
-
RouteHandlerMatchDefault
-
-
Method Details
-
getSourceRoute
Description copied from interface:RouteHandlerMatchThe route associated with this match.- Specified by:
getSourceRoutein interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
getHandler
Description copied from interface:RouteHandlerMatchThe route handler.- Specified by:
getHandlerin interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
getPathParams
Description copied from interface:RouteHandlerMatchThe values parsed from the URL, given the dynamic parameters of the route's path, if any.- Specified by:
getPathParamsin interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
getPosition
public int getPosition()Description copied from interface:RouteHandlerMatchThe position the handler should be run at.- Specified by:
getPositionin interfaceRouteHandlerMatch<R extends RequestContext<?>>
-
toString
-