case class Parameter[A, B](param: SegmentParam[A], next: Path[B]) extends Segment[Tuples.->[A, B]] with Product with Serializable
Parameter is a url path component that is converted to and from a typed value. The actual conversion is
provided by arg.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Parameter
- Serializable
- Product
- Equals
- Segment
- Path
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Parameter(param: SegmentParam[A], next: Path[B])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def build(param: Tuples.->[A, B]): Location
Returns the Location representing
param - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def encode: (Tuples.->[A, B]) => (Location) => Location
- Attributes
- protected[simplerouter]
- Definition Classes
- Parameter → Path
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val next: Path[B]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val param: SegmentParam[A]
- def parse: (Location) => Option[(A, B)]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def run[R](handler: (Tuples.->[A, B]) => Option[R]): (Location) => Option[R]
Given a route value, returns a
PartialFunctionthat parses a Location and passes the parameters to the route value, if applicable - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()