| Modifier and Type | Field and Description |
|---|---|
| private ApplicationMap | |
| private InitParameterMap | |
| private boolean | |
| private ServletContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addResponseHeader(String
The name of the response header. name, String The value of the response header. value)Overrides javax. Add the given name and value to the response header. |
| public void | dispatch(String
Context relative path to the specified resource,
which must start with a slash ("/") character path)Implements abstract javax. Dispatch a request to the specified resource to create output for this response. |
| public String | encodeActionURL(String
The input URL to be encoded url)Implements abstract javax. Return the input URL, after performing any rewriting needed to ensure that it will correctly identify an addressable action in the current application. |
| public String | encodeNamespace(String
Name to be encoded name)Implements abstract javax. Return the specified name, after prefixing it with a namespace that ensures that it will be unique within the context of a particular page. |
| public String | encodePartialActionURL(String
The input URL to be encoded url)Overrides javax. Return the input URL, after performing any rewriting needed to ensure that it can be used in a partial page submission (ajax request) to correctly identify an addressable action in the current application. |
| public String | encodeResourceURL(String
The input URL to be encoded url)Implements abstract javax. Return the input URL, after performing any rewriting needed to ensure that it will correctly identify an addressable resource in the current application. |
| public String | encodeWebsocketURL(String
The input URL to be encoded. url)Implements abstract javax. Return the websocket URL, after performing any rewriting needed to ensure that it will correctly identify an addressable websocket in the current application. |
| public String | getApplicationContextPath()
Overrides javax. Return the name of the container context for this application. |
| public Map | getApplicationMap()
Implements abstract javax. Return a mutable
|
| public String | getAuthType()
Implements abstract javax. Return the name of the authentication scheme used to authenticate
the current user, if any; otherwise, return |
| public Object | getContext()
Implements abstract javax. Return the application environment object instance for the current appication. |
| public String | getContextName()
Overrides javax. Return the name of the container context for this application. |
| public Flash | getFlash()
Overrides javax. Return the threadsafe |
| public String | getInitParameter(String
Name of the requested initialization parameter name)Implements abstract javax. Return the value of the specified application initialization parameter (if any). |
| public Map | getInitParameterMap()
Implements abstract javax. Return an
immutable |
| public String | getMimeType(String
The file for which the mime type should be obtained. file)Overrides javax. Returns the MIME type of the
specified file or |
| public String | getRealPath(String
The context of the requested initialization parameter path)Overrides javax. Returns a String containing the real path for a given virtual path. |
| public String | getRemoteUser()
Implements abstract javax. Return the login name of the user making the current request
if any; otherwise, return |
| public Object | getRequest()
Implements abstract javax. Return the environment-specific object instance for the current request. |
| public String | getRequestCharacterEncoding()
Overrides javax. Return the character encoding currently being used to interpret this request. |
| public int | getRequestContentLength()
Overrides javax. Return the result
of calling |
| public String | getRequestContentType()
Overrides javax. Return the MIME Content-Type for this request. |
| public String | getRequestContextPath()
Implements abstract javax. Return the portion of the request URI that identifies the web application context for this request. |
| public Map | getRequestCookieMap()
Implements abstract javax. Return an immutable |
| public Map | getRequestHeaderMap()
Implements abstract javax. Return an immutable |
| public Map | getRequestHeaderValuesMap()
Implements abstract javax. Return an immutable |
| public Locale | getRequestLocale()
Implements abstract javax. Return the preferred |
| public Iterator | getRequestLocales()
Implements abstract javax. Return an |
| public Map | getRequestMap()
Implements abstract javax. Return a mutable |
| public Map | getRequestParameterMap()
Implements abstract javax. Return an immutable |
| public Iterator | getRequestParameterNames()
Implements abstract javax. Return an |
| public Map | getRequestParameterValuesMap()
Implements abstract javax. Return an immutable |
| public String | getRequestPathInfo()
Implements abstract javax. Return the extra path information (if any) included in the
request URI; otherwise, return |
| public String | getRequestServletPath()
Implements abstract javax. Return the servlet path information (if any) included in the
request URI; otherwise, return |
| public URL | getResource(String
The path to the requested resource, which must
start with a slash ("/" character path)Implements abstract javax. Return a
|
| public InputStream | getResourceAsStream(String
The path to the requested resource, which must
start with a slash ("/" character path)Implements abstract javax. Return an
|
| public Set | getResourcePaths(String
Partial path used to match resources, which must
start with a slash ("/") character path)Implements abstract javax. Return the
|
| public Object | getResponse()
Implements abstract javax. Return the environment-specific object instance for the current response. |
| public String | getResponseCharacterEncoding()
Overrides javax. Returns the name of the character encoding (MIME charset) used for the body sent in this response. |
| public String | getResponseContentType()
Overrides javax. Return the MIME Content-Type for this response. |
| public Object | getSession(boolean
Flag indicating whether or not a new session should be
created if there is no session associated with the current request create)Implements abstract javax. If the |
| public Map | getSessionMap()
Implements abstract javax. Return a mutable |
| public Principal | getUserPrincipal()
Implements abstract javax. Return the |
| public boolean | isUserInRole(String
Logical role name to be checked role)Implements abstract javax. Return |
| public void | log(String
Message to be logged message)Implements abstract javax. Log the specified message to the application object. |
| public void | log(String
Message to be logged message, Throwable Exception to be logged exception)Implements abstract javax. Log the specified message and exception to the application object. |
| public void | redirect(String
Absolute URL to which the client should be redirected url)Implements abstract javax. Redirect a request
to the specified URL, and cause the
|
| public void | |
| public void | setRequest(Object
the request object to be set. request)Overrides javax. Set the environment-specific request to be returned by
subsequent calls to |
| public void | setRequestCharacterEncoding(String
the encoding name to be set. requestCharacterEncoding)Overrides javax. Overrides the name of the character encoding used in the body of this request. |
| public void | setResponse(Object
the response instance to be set. response)Overrides javax. Set the environment-specific response to be returned by
subsequent calls to |
| public void | setResponseCharacterEncoding(String
the character encoding to be sent by the current response. responseCharacterEncoding)Overrides javax. Sets the character encoding (MIME charset) of the response being sent to the client, for example, to UTF-8. |
| public void | setResponseHeader(String
The name of the response header. name, String The value of the response header. value)Overrides javax. Set the response header with the given name and value. |