Utilities for routing.
Attributes
Members list
Type members
Classlikes
Request attributes used by the router.
Request attributes used by the router.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Attrs.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RequestImplicits.type
Types
The type of the routes partial function
The type of the routes partial function
Attributes
Value members
Concrete methods
Concatenate another prefix with an existing prefix, collapsing extra slashes. If the existing prefix is empty or "/" then the new prefix replaces the old one. Otherwise the new prefix is prepended to the old one with a slash in between, ignoring a final slash in the new prefix or an initial slash in the existing prefix.
Concatenate another prefix with an existing prefix, collapsing extra slashes. If the existing prefix is empty or "/" then the new prefix replaces the old one. Otherwise the new prefix is prepended to the old one with a slash in between, ignoring a final slash in the new prefix or an initial slash in the existing prefix.
Attributes
Create a new router from the given partial function
Create a new router from the given partial function
Value parameters
- routes
-
The routes partial function
Attributes
- Returns
-
A router that uses that partial function
Try to load the configured router class.
Try to load the configured router class.
Attributes
- Returns
-
The router class if configured or if a default one in the root package was detected.