(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]
.
Mounts a handler to the servlet context.
Mounts a handler to the servlet context. Must be an HttpServlet or a Filter.
the handler to mount
the URL pattern to mount. Will be appended with \/\*
if
not already, as path-mapping is the most natural fit for Scalatra.
If you don't want path mapping, use the native Servlet API.
the name of the handler
Optionally returns the resource mapped to the request's path.
Optionally returns the resource mapped to the request's path.
the request
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]
.
(Since version 2.8.0) use iterator' instead
(Since version 2.8.0) use head' instead
(Since version 2.8.0) use headOption' instead
(Since version 2.8.0) use mapValues' instead
(Since version 2.8.0) use productIterator instead
(Since version 2.8.0) use view' instead
(Since version 2.8.0) Use remove' instead
Extension methods to the standard ServletContext.