PathPattern

io.eezo.http.PathPattern
See thePathPattern companion class
object PathPattern

Attributes

Companion
class
Source
PathPattern.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

enum Segment

Attributes

Source
PathPattern.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def parse(pattern: String): PathPattern

Parses a pattern, and fails the boot when it cannot.

Parses a pattern, and fails the boot when it cannot.

Two validations, both fatal, because parse runs at boot and both are bugs a developer wants named rather than routed around: a repeated parameter name, whose second capture would silently win, and a catch-all before the final segment, which can never match what its author meant.

Attributes

Source
PathPattern.scala