case class RichRequest(r: HttpServletRequest) extends AttributesMap with Product with Serializable
- Alphabetic
- By Inheritance
- RichRequest
- Serializable
- Serializable
- Product
- AttributesMap
- MutableMapWithIndifferentAccess
- MapWithIndifferentAccess
- Map
- MapLike
- Cloneable
- Cloneable
- Cloneable
- Shrinkable
- Builder
- Growable
- Clearable
- Map
- MapLike
- Subtractable
- PartialFunction
- Function1
- GenMap
- GenMapLike
- Iterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- Mutable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RichRequest(r: HttpServletRequest)
Type Members
-
class
DefaultKeySet extends AbstractSet[K] with Set[K] with Serializable
- Attributes
- protected
- Definition Classes
- MapLike
-
class
DefaultValuesIterable extends AbstractIterable[V] with Iterable[V] with Serializable
- Attributes
- protected
- Definition Classes
- MapLike
-
class
FilteredKeys extends AbstractMap[K, V] with DefaultMap[K, V]
- Attributes
- protected
- Definition Classes
- MapLike
-
class
MappedValues[W] extends AbstractMap[K, W] with DefaultMap[K, W]
- Attributes
- protected
- Definition Classes
- MapLike
-
type
Self = Map[String, Any]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+[V1 >: Any](elem1: (String, V1), elem2: (String, V1), elems: (String, V1)*): Map[String, V1]
- Definition Classes
- MapLike → MapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new map. Use+=
to add an element to this map and return that map itself.
-
def
+[V1 >: Any](kv: (String, V1)): Map[String, V1]
- Definition Classes
- MapLike → MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new map. Use+=
to add an element to this map and return that map itself.
-
def
++[V1 >: Any](xs: GenTraversableOnce[(String, V1)]): Map[String, V1]
- Definition Classes
- MapLike → MapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new map. Use++=
to add an element to this map and return that map itself.
-
def
++[B >: (String, Any), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: (String, Any), That](that: Traversable[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: (String, Any), That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: TraversableOnce[(String, Any)]): RichRequest.this.type
- Definition Classes
- Growable
-
def
+=(kv: (String, Any)): RichRequest.this.type
Sets an attribute on the underlying servlet object.
Sets an attribute on the underlying servlet object.
- kv
the key/value pair. If the value is null, has the same effect as calling
-=(kv._1)
.- returns
the map itself
- Definition Classes
- AttributesMap → MapLike → Builder → Growable
-
def
+=(elem1: (String, Any), elem2: (String, Any), elems: (String, Any)*): RichRequest.this.type
- Definition Classes
- Growable
-
def
-(elem1: String, elem2: String, elems: String*): Map[String, Any]
- Definition Classes
- MapLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new map. Use-=
to remove an element from this map and return that map itself.
-
def
-(key: String): Map[String, Any]
- Definition Classes
- MapLike → MapLike → Subtractable → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new map. Use-=
to remove an element from this map and return that map itself.
-
def
--(xs: GenTraversableOnce[String]): Map[String, Any]
- Definition Classes
- MapLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new map. Use--=
to remove an element from this map and return that map itself.
-
def
--=(xs: TraversableOnce[String]): RichRequest.this.type
- Definition Classes
- Shrinkable
-
def
-=(key: String): RichRequest.this.type
Removes an attribute from the underlying servlet object.
Removes an attribute from the underlying servlet object.
- key
the key to remove
- returns
the map itself
- Definition Classes
- AttributesMap → MapLike → Shrinkable
-
def
-=(elem1: String, elem2: String, elems: String*): RichRequest.this.type
- Definition Classes
- Shrinkable
-
def
/:[B](z: B)(op: (B, (String, Any)) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:\[B](z: B)(op: ((String, Any), B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- MapLike → TraversableOnce
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, (String, Any)) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (Any) ⇒ C): PartialFunction[String, C]
- Definition Classes
- PartialFunction → Function1
-
def
apply(key: Symbol): Any
- Definition Classes
- MapWithIndifferentAccess
-
def
apply(key: String): Any
- Definition Classes
- MapLike → GenMapLike → Function1
-
def
applyOrElse[K1 <: String, V1 >: Any](x: K1, default: (K1) ⇒ V1): V1
- Definition Classes
- MapLike → PartialFunction
-
def
as[T](key: String)(implicit mf: Manifest[T], converter: TypeConverter[Any, T]): T
Return the attribute associated with the key or throw an exception when nothing found
Return the attribute associated with the key or throw an exception when nothing found
- T
The type of the value
- key
The key to find
- returns
an value for the attributed associated with the key in the underlying servlet object, or throw an exception if the key doesn't exist
- Definition Classes
- AttributesMap
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attributes: HttpServletRequest
- Attributes
- protected[org.scalatra]
- Definition Classes
- RichRequest → AttributesMap
-
def
body: String
Caches and returns the body of the response.
Caches and returns the body of the response. The method is idempotent for any given request. The result is cached in memory regardless of size, so be careful. Calling this method consumes the request's input stream.
- returns
the message body as a string according to the request's encoding (defult ISO-8859-1).
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
characterEncoding: Option[String]
Returns the name of the character encoding of the body, or None if no character encoding is specified.
- def characterEncoding_=(encoding: Option[String]): Unit
-
def
clear(): Unit
- Definition Classes
- MapLike → Builder → Growable → Clearable
-
def
clone(): Map[String, Any]
- Definition Classes
- MapLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[(String, Any), B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[(String, Any), B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
companion: GenericCompanion[Iterable]
- Definition Classes
- Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ String): (A) ⇒ Any
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains(key: String): Boolean
- Definition Classes
- MapLike → GenMapLike
-
def
contentLength: Option[Long]
Returns the length, in bytes, of the body, or None if not known.
-
def
contentType: Option[String]
The content of the Content-Type header, or None if absent.
-
def
cookies: Map[String, String]
Returns a map of cookie names to values.
Returns a map of cookie names to values. If multiple values are present for a given cookie, the value is the first cookie of that name.
-
def
copyToArray[B >: (String, Any)](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (String, Any)](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (String, Any)](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: (String, Any)](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
count(p: ((String, Any)) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
default(key: String): Any
- Definition Classes
- MapLike → GenMapLike
-
def
drop(n: Int): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Map[String, Any]
- Definition Classes
- IterableLike
-
def
dropWhile(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
empty: Map[String, Any]
- Definition Classes
- Map → Map → MapLike
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- GenMapLike → Equals → AnyRef → Any
-
def
exists(p: ((String, Any)) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterKeys(p: (String) ⇒ Boolean): Map[String, Any]
- Definition Classes
- MapLike → GenMapLike
-
def
filterNot(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- MapLike → TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: ((String, Any)) ⇒ Boolean): Option[(String, Any)]
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: ((String, Any)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: ((String, Any)) ⇒ GenTraversableOnce[B]): Iterable[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: (String, Any)](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, (String, Any)) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: ((String, Any), B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: ((String, Any)) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: ((String, Any)) ⇒ U): Unit
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, Iterable[B]]
- Definition Classes
- GenericTraversableTemplate
-
def
get(key: String): Option[Any]
Optionally returns the attribute associated with the key
Optionally returns the attribute associated with the key
- returns
an option value containing the attribute associated with the key in the underlying servlet object, or None if none exists.
- Definition Classes
- AttributesMap → MapLike → GenMapLike
-
def
get(key: Symbol): Option[Any]
- Definition Classes
- MapWithIndifferentAccess
-
def
getAs[T](key: String)(implicit mf: Manifest[T], converter: TypeConverter[Any, T]): Option[T]
Optionally return and type cast the attribute associated with the key
Optionally return and type cast the attribute associated with the key
- T
The type of the value
- key
The key to find
- returns
an option value containing the attributed associated with the key in the underlying servlet object, or None if none exists
- Definition Classes
- AttributesMap
-
def
getAsOrElse[T](key: String, default: ⇒ T)(implicit mf: Manifest[T], converter: TypeConverter[Any, T]): T
Return the attribute associated with the key or throw an exception when nothing found
Return the attribute associated with the key or throw an exception when nothing found
- T
The type of the value
- key
The key to find
- returns
an value for the attributed associated with the key in the underlying servlet object, or throw an exception if the key doesn't exist
- Definition Classes
- AttributesMap
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getOrElse[B1 >: Any](key: Symbol, default: ⇒ B1): B1
- Definition Classes
- MapWithIndifferentAccess
-
def
getOrElse[V1 >: Any](key: String, default: ⇒ V1): V1
- Definition Classes
- MapLike → GenMapLike
-
def
getOrElseUpdate(key: String, op: ⇒ Any): Any
- Definition Classes
- MapLike
-
def
groupBy[K](f: ((String, Any)) ⇒ K): Map[K, Map[String, Any]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- GenMapLike → AnyRef → Any
-
def
head: (String, Any)
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[(String, Any)]
- Definition Classes
- TraversableLike → GenTraversableLike
- def header(name: String): Option[String]
-
def
init: Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: Iterator[Map[String, Any]]
- Definition Classes
- TraversableLike
-
def
inputStream: InputStream
The input stream is an InputStream which contains the raw HTTP POST data.
The input stream is an InputStream which contains the raw HTTP POST data. The caller should not close this stream.
In contrast to Rack, this stream is not rewindable.
-
def
isAjax: Boolean
Returns true if the request is an AJAX request
-
def
isDefinedAt(key: String): Boolean
- Definition Classes
- MapLike → GenMapLike → PartialFunction
-
def
isEmpty: Boolean
- Definition Classes
- MapLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
isWrite: Boolean
Returns true if the request's method is not "safe" per RFC 2616.
-
def
iterator: Iterator[(String, Any)]
Creates a new iterator over all attributes in the underlying servlet object.
Creates a new iterator over all attributes in the underlying servlet object.
- returns
the new iterator
- Definition Classes
- AttributesMap → MapLike → IterableLike → GenIterableLike
-
def
keySet: Set[String]
- Definition Classes
- MapLike → GenMapLike
-
def
keys: Iterable[String]
- Definition Classes
- MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
keys
returnsIterable[K]
rather thanIterator[K]
.
-
def
keysIterator: Iterator[String]
- Definition Classes
- MapLike → GenMapLike
-
def
last: (String, Any)
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastOption: Option[(String, Any)]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lift: (String) ⇒ Option[Any]
- Definition Classes
- PartialFunction
- def locale: Locale
- def locales: Seq[Locale]
-
def
map[B, That](f: ((String, Any)) ⇒ B)(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
mapResult[NewTo](f: (Map[String, Any]) ⇒ NewTo): Builder[(String, Any), NewTo]
- Definition Classes
- Builder
-
def
mapValues[W](f: (Any) ⇒ W): Map[String, W]
- Definition Classes
- MapLike → GenMapLike
-
def
max[B >: (String, Any)](implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: ((String, Any)) ⇒ B)(implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: (String, Any)](implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: ((String, Any)) ⇒ B)(implicit cmp: Ordering[B]): (String, Any)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
multiCookies: MultiMap
Returns a map of cookie names to lists of their values.
Returns a map of cookie names to lists of their values. The default value of the map is the empty sequence.
-
def
multiParameters: MultiParams
A Map of the parameters of this request.
A Map of the parameters of this request. Parameters are contained in the query string or posted form data.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[(String, Any), Map[String, Any]]
- Attributes
- protected[this]
- Definition Classes
- MapLike → MapLike → TraversableLike → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
orElse[A1 <: String, B1 >: Any](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
par: ParMap[String, Any]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[(String, Any), ParMap[String, Any]]
- Attributes
- protected[this]
- Definition Classes
- MapLike → MapLike → TraversableLike → Parallelizable
-
def
partition(p: ((String, Any)) ⇒ Boolean): (Map[String, Any], Map[String, Any])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
pathInfo: String
The remainder of the request URL's "path", designating the virtual "location" of the request's target within the application.
The remainder of the request URL's "path", designating the virtual "location" of the request's target within the application. This may be an empty string, if the request URL targets the application root and does not have a trailing slash.
-
def
product[B >: (String, Any)](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
put(key: String, value: Any): Option[Any]
- Definition Classes
- MapLike
-
def
queryString: String
The portion of the request URL that follows the ?, if any.
The portion of the request URL that follows the ?, if any. May be empty, but is always required!
- val r: HttpServletRequest
-
def
reduce[A1 >: (String, Any)](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: (String, Any)](op: (B, (String, Any)) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: (String, Any)](op: (B, (String, Any)) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: (String, Any)](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: (String, Any)](op: ((String, Any), B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: (String, Any)](op: ((String, Any), B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
referrer: Option[String]
Optionally returns the HTTP referrer.
Optionally returns the HTTP referrer.
- returns
the
Referer
header, or None if not set
-
def
remoteAddress: String
The remote address the client is connected from.
The remote address the client is connected from. This takes the load balancing header X-Forwarded-For into account
- returns
the client ip address
-
def
remove(key: String): Option[Any]
- Definition Classes
- MapLike
-
def
repr: Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
requestMethod: HttpMethod
The HTTP request method, such as GET or POST
-
def
result(): Map[String, Any]
- Definition Classes
- MapLike → Builder
-
def
retain(p: (String, Any) ⇒ Boolean): RichRequest.this.type
- Definition Classes
- MapLike
-
def
reversed: List[(String, Any)]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (Any) ⇒ U): (String) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: (String, Any)](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: (String, Any), That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, (String, Any)) ⇒ B)(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: ((String, Any), B) ⇒ B)(implicit bf: CanBuildFrom[Map[String, Any], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
scriptName: String
The initial portion of the request URL's "path" that corresponds to the application object, so that the application knows its virtual "location".
The initial portion of the request URL's "path" that corresponds to the application object, so that the application knows its virtual "location". This may be an empty string, if the application corresponds to the "root" of the server.
-
def
seq: Map[String, Any]
- Definition Classes
- Map → Map → GenMap → GenMapLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
serverName: String
When combined with scriptName, pathInfo, and serverPort, can be used to complete the URL.
When combined with scriptName, pathInfo, and serverPort, can be used to complete the URL. Note, however, that the "Host" header, if present, should be used in preference to serverName for reconstructing the request URL.
-
def
serverPort: Int
When combined with scriptName, pathInfo, and serverName, can be used to complete the URL.
When combined with scriptName, pathInfo, and serverName, can be used to complete the URL. See serverName for more details.
-
def
serverProtocol: HttpVersion
The version of the protocol the client used to send the request.
The version of the protocol the client used to send the request. Typically this will be something like "HTTP/1.0" or "HTTP/1.1" and may be used by the application to determine how to treat any HTTP request headers.
-
def
size: Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, until: Int): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): Iterator[Map[String, Any]]
- Definition Classes
- IterableLike
-
def
span(p: ((String, Any)) ⇒ Boolean): (Map[String, Any], Map[String, Any])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (Map[String, Any], Map[String, Any])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
stringPrefix: String
- Definition Classes
- MapLike → TraversableLike → GenTraversableLike
-
def
sum[B >: (String, Any)](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Map[String, Any]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: Iterator[Map[String, Any]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Map[String, Any]
- Definition Classes
- IterableLike
-
def
takeWhile(p: ((String, Any)) ⇒ Boolean): Map[String, Any]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: Iterable[(String, Any)]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (String, Any), Col[(String, Any)]]): Col[(String, Any)]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: (String, Any)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[E >: (String, Any)]: Buffer[E]
- Definition Classes
- MapLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Map[String, Any]): Iterable[(String, Any)]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
toIndexedSeq: IndexedSeq[(String, Any)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: Iterable[(String, Any)]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[(String, Any)]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[(String, Any)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[(String, Any), (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: Seq[(String, Any)]
- Definition Classes
- MapLike → MapLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: (String, Any)]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[(String, Any)]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- MapLike → TraversableLike → Function1 → AnyRef → Any
-
def
toTraversable: Traversable[(String, Any)]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[(String, Any)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transform(f: (String, Any) ⇒ Any): RichRequest.this.type
- Definition Classes
- MapLike
-
def
transpose[B](implicit asTraversable: ((String, Any)) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
unzip[A1, A2](implicit asPair: ((String, Any)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: ((String, Any)) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(key: Symbol, value: Any): Unit
- Definition Classes
- MutableMapWithIndifferentAccess
-
def
update(key: String, value: Any): Unit
- Definition Classes
- MapLike
-
def
updated[V1 >: Any](key: String, value: V1): Map[String, V1]
- Definition Classes
- MapLike → MapLike
- def uri: URI
-
def
urlScheme: Scheme
Http or Https, depending on the request URL.
-
def
values: Iterable[Any]
- Definition Classes
- MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
values
returnsIterable[V]
rather thanIterator[V]
.
-
def
valuesIterator: Iterator[Any]
- Definition Classes
- MapLike → GenMapLike
-
def
view(from: Int, until: Int): IterableView[(String, Any), Map[String, Any]]
- Definition Classes
- IterableLike → TraversableLike
-
def
view: IterableView[(String, Any), Map[String, Any]]
- Definition Classes
- IterableLike → TraversableLike
-
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( ... )
-
def
withDefault(d: (String) ⇒ Any): Map[String, Any]
- Definition Classes
- Map
-
def
withDefaultValue(d: Any): Map[String, Any]
- Definition Classes
- Map
-
def
withFilter(p: ((String, Any)) ⇒ Boolean): FilterMonadic[(String, Any), Map[String, Any]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: (String, Any), B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Map[String, Any], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: (String, Any), That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Map[String, Any], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: (String, Any), That](implicit bf: CanBuildFrom[Map[String, Any], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
object
headers
extends DefaultMap[String, String]
A map of headers.
A map of headers. Multiple header values are separated by a ',' character. The keys of this map are case-insensitive.
- object parameters extends MultiMapHeadView[String, String]
Deprecated Value Members
-
def
host: String
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Use HttpServletRequest.serverName instead
-
def
method: HttpMethod
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) Use requestMethod
-
def
port: String
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Use HttpServletRequest.serverPort instead
-
def
referer: Option[String]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Use referrer