The resource class this router handles.
The resource class this router handles.
Constructs a Map used to tag the request.
Constructs a Map used to tag the request.
Note: because of a limitation of the mocking framework, this code gracefully handles when resourceInstance.getClass returns null.
The name of the scala method invoked to handle this request.
Helper method to convert an opt path key to the ancestor keys.
Helper method to convert an opt path key to the ancestor keys.
The opt path key to convert.
Helper method to convert a path key to the ancestor keys.
Helper method to convert a path key to the ancestor keys.
The path key to convert.
If the request is for this resource, return a RouteAction.
If the request is for this resource, return a RouteAction. For alternate resources, return None
Note: by returning Some[RouteAction]
, that does not mean that there is a valid finder,
action, or that all query parameters were parsed correctly.
The (modified) request path to use for routing request.
The request to be handled (for routing & query parameter parsing)
Either the Play! action to handle the request, or None indicating this request is for a different resource.