Url

io.eezo.core.html.Url
See theUrl companion enum
object Url

Attributes

Companion
enum
Source
Url.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Url.type

Members list

Type members

Classlikes

object Absolute

Written out rather than left to the enum's own constructor, because the payload has to be normalised before it becomes part of the value's identity.

Written out rather than left to the enum's own constructor, because the payload has to be normalised before it becomes part of the value's identity.

Attributes

Companion
enum
Source
Url.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Absolute.type
object Mounted

Attributes

Companion
enum
Source
Url.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Mounted.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def normalise(path: String): String

One rooted spelling for a path, so equality answers the question a reader is asking.

One rooted spelling for a path, so equality answers the question a reader is asking.

Only the part before the first ? or # is a path; a query string or a fragment can carry its own doubled slash, an encoded absolute URL among them, that means something to whatever reads it and is not eezo's to collapse.

Public because a mount prefix is the same concept: Route.under normalises what it is handed with this rather than trimming slashes of its own, so the path a route answers on and the path its links point at cannot spell the same prefix two ways.

Attributes

Source
Url.scala