- the value of the context attribute identified by then provided name. Returns Empty if this parameter does not exist.
- a List of Tuple2 consisting of name and value pair of the attributes
- the value of the init parameter identified by then provided name. Note that this is not typesfe and you need to explicitely do the casting when reading this attribute. Returns Empty if this parameter does not exist.
- a List of Tuple2 consisting of name and value pair of the init parameters
- the mime type mapped to resource determined by this path.
- the context path. It always comes first in a request URI. It is the URI part that represent to context of the request.
Returns the URL representation of a resource that is mapped by a fully qualified path.
Returns the URL representation of a resource that is mapped by a fully qualified path. The path is considered relative to the root path and it always starts with '/'.
- the resource path
- the URL object of the path
Same as resource but returns an InputStream to read the resource.
Same as resource but returns an InputStream to read the resource.
- the resource path
InputStream
Represents the service context information. Similar with servlet context.