Package org.spincast.core.routing
Interface RouteHandlerMatch<R extends RequestContext<?>>
- All Known Implementing Classes:
RouteHandlerMatchDefault
public interface RouteHandlerMatch<R extends RequestContext<?>>
Represents a match found by the router.
-
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.
-
Method Details
-
getSourceRoute
The route associated with this match. -
getHandler
The route handler. -
getPathParams
The values parsed from the URL, given the dynamic parameters of the route's path, if any. -
getPosition
int getPosition()The position the handler should be run at.
-