(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) ++
creates a new map. Use ++=
to add an element to this map and return that map itself.
Sets an attribute on the underlying servlet object.
Sets an attribute on the underlying servlet object.
the key/value pair. If the value is null, has the same effect
as calling -=(kv._1)
.
the map itself
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) --
creates a new map. Use --=
to remove an element from this map and return that map itself.
Removes an attribute from the underlying servlet object.
Removes an attribute from the underlying servlet object.
the key to remove
the map itself
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.
the message body as a string according to the request's encoding (defult ISO-8859-1).
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.
Optionally returns the attribute associated with the key
Optionally returns the attribute associated with the key
an option value containing the attribute associated with the key in the underlying servlet object, or None if none exists.
Returns true if the request is an AJAX request
Returns true if the request's method is not "safe" per RFC 2616.
Creates a new iterator over all attributes in the underlying servlet object.
Creates a new iterator over all attributes in the underlying servlet object.
the new iterator
(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
Returns the request's method.
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 seuqence.
Optionally returns the HTTP referrer.
Optionally returns the HTTP referrer.
the Referer
header, or None if not set
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.
(Since version 2.10.0) use fold instead
Use HttpServletRequest.getServerName() instead
Use HttpServletRequest.getServerPort() instead
Use referrer
Extension methods to a standard HttpServletRequest.