Absolute

io.eezo.core.html.Url.Absolute
See theAbsolute companion object
final case class Absolute

An address eezo never touches: another site, a mailto:, or a path the author means literally. It is kept verbatim rather than normalised, because a scheme is not a path and /https://eezo.io is what normalising one would produce.

Attributes

Companion
object
Source
Url.scala

Members list

Value members

Inherited methods

def /(segment: String): Url

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
def productElementNames: Iterator[String]

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
def productIterator: Iterator[Any]

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
def under(prefix: String): Url

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