case class Location(path: List[String], query: List[(String, String)] = Nil) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Location
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Location(path: List[String], query: List[(String, String)] = Nil)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &(x: (String, String)): Location
Add a query string parameter
- def &&(x: (String, List[String])): Location
Add multiple query string parameters with the same name
- def ++(xs: List[String]): Location
Append path components
- def +:(prepend: String): Location
Prepend a path component
- def :+(append: String): Location
Append a path component
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: List[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val query: List[(String, String)]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Location
Drop the first path component
- def takeParam(name: String): Option[(String, Location)]
Get a
Tuple2containing the named parameter's value, and the rest of thisLocation - def takeParams(name: String): (List[String], Location)
Get a
Tuple2containing the named parameter's values, and the rest of thisLocation - def toUrl: String
Get a URL-encoded
Stringrepresenting thisLocation - 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()