DSL for creating RouterConfig.
Instead creating an instance of this yourself, use RouterConfigDsl.apply.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Captures the (non-empty) remaining portion of the URL path.
Captures the (non-empty) remaining portion of the URL path.
Attributes
Captures the (potentially-empty) remaining portion of the URL path.
Captures the (potentially-empty) remaining portion of the URL path.
Attributes
A rule that uses a replace-state redirect to remove leading slashes from route URLs.
A rule that uses a replace-state redirect to remove leading slashes from route URLs.
Attributes
Removes the query portion of the URL.
Removes the query portion of the URL.
e.g. a/b?c=1
to a/b
Attributes
A rule that uses a replace-state redirect to remove trailing slashes from route URLs.
A rule that uses a replace-state redirect to remove trailing slashes from route URLs.
Attributes
Note: Requires that Page#equals()
be sensible.
Note: Requires that Page#equals()
be sensible.
Attributes
Matches a string.
Matches a string.
Best to use a whitelist of characters, eg. "[a-zA-Z0-9]+". Do not capture groups; use "[a-z]+" instead of "([a-z]+)". If you need to group, use non-capturing groups like "(?:bye|hello)" instead of "(bye|hello)".
Attributes
A rule that uses a replace-state redirect to remove leading and trailing slashes from route URLs.
A rule that uses a replace-state redirect to remove leading and trailing slashes from route URLs.
Attributes
Concrete fields
Captures the query portion of the URL to a param map.
Captures the query portion of the URL to a param map.
Note that this is not a strict capture, URLs without a query string will still be accepted, and the parameter map will simply by empty.
Attributes
Captures the query portion of the URL to a param multimap.
Captures the query portion of the URL to a param multimap.
Note that this is not a strict capture, URLs without a query string will still be accepted, and the parameter map will simply by empty.
Attributes
Captures the query portion of the URL.
Captures the query portion of the URL.
Note that this is not a strict capture, URLs without a query string will still be accepted, and the parameter map will simply by empty.