- Companion
- class
Type members
Value members
Concrete methods
Simple path segment that matches everything by passing segments down the line.
Simple path segment that matches everything by passing segments down the line.
Trait factory
Trait factory
Matches a simple Int and tries to convert it to an Int.
Matches a simple Int and tries to convert it to an Int.
Simple path segment that matches nothing. This is the neutral of the || operator.
Simple path segment that matches nothing. This is the neutral of the || operator.
PathSegment that matches one of the given different possibilities.
PathSegment that matches one of the given different possibilities.
This can be useful in a Router, when you want to delegate the final decision to an inner router. Since all possibilities are good, the creation of segment simply takes the first one.
Consumes all the remaining segments.
Consumes all the remaining segments.
This can be useful for static resources.
Creates a segment matching any element of type T
, as long as the urldsl.vocabulary.FromString can
de-serialize it.
Creates a segment matching any element of type T
, as long as the urldsl.vocabulary.FromString can
de-serialize it.
Simple trait factory for "single segment"-oriented path Segments.
Simple trait factory for "single segment"-oriented path Segments.
This can be used to match a simple String, or a simple Int, etc...
Concrete fields
Implicits
Implicits
Returns a urldsl.language.PathSegment which matches exactly the argument t
.
Returns a urldsl.language.PathSegment which matches exactly the argument t
.
This conversion is implicit if you can provide a urldsl.vocabulary.FromString and a
urldsl.vocabulary.Printer, so that it enables writing,
e.g.,
root / "hello" / true