case class WebQuery(pairs: List[(String, String)]) extends Product with Serializable
straightforward abstraction for web style key-value queries; assumes input is already decoded and duplicate-less
- Source
- ServerRequest.scala
- Alphabetic
- By Inheritance
- WebQuery
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply(key: String): Option[String]
- returns
the value of the key, if present
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asString: String
- returns
a string encoded web query object
-
def
boolean(key: String, default: ⇒ Boolean = false): Boolean
- returns
the boolean value of the key, default value if not present
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
contains(key: String): Boolean
checks if this WebQuery contains a specific query
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
int(key: String, default: ⇒ Int = 0): Int
- returns
the integer value of the key, default value if not present
-
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 pairs: List[(String, String)]
-
def
string(key: String, default: ⇒ String = ""): String
- returns
the string value of the key, default value if not present
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()