(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
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.
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]
.
Optionally returns the resource mapped to the request's path.
Optionally returns the resource mapped to the request's path.
the resource located at the result of concatenating the request's servlet path and its path info, or None if there is no resource at that path.
Optionally returns a URL to the resource mapped to the given path.
Optionally returns a URL to the resource mapped to the given path. This
is a wrapper around getResource
.
the path to the resource
the resource located at the path, or None if there is no resource at that path.
(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]
.
Extension methods to the standard ServletContext.