An address inside this application, which travels with the prefix its routes are mounted under. The payload is normalised on the way in by Url.normalise, the same function Route.under normalises a prefix with, so that Mounted("posts") and Mounted("/posts") are one value rather than two that render alike.
Attributes
Members list
Value members
Inherited methods
Appends one path segment, owning the slash between them so that neither caller has to.
Appends one path segment, owning the slash between them so that neither caller has to.
Attributes
- Inherited from:
- Url
- Source
- Url.scala
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala
This URL as seen from under prefix. Absolute is the answer to "not mine to move".
This URL as seen from under prefix. Absolute is the answer to "not mine to move".
The concatenation goes back through Url.Mounted.apply rather than the private constructor, so the result is normalised the way any other Mounted is. That is what keeps a root url from leaving a slash behind it: Mounted("/").under("/admin") is /admin, not /admin/.
Attributes
- Inherited from:
- Url
- Source
- Url.scala