| 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 jakarta. 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 jakarta. 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 jakarta. 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 jakarta. 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 jakarta. 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 jakarta. 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 jakarta. 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 jakarta. Return the name of the container context for this application. |
| public Map | getApplicationMap()
Implements abstract jakarta.
Return a mutable |
| public String | getAuthType()
Implements abstract jakarta.
Return the name of the authentication scheme used to authenticate the current user, if any; otherwise, return
|
| public Object | getContext()
Implements abstract jakarta. Return the application environment object instance for the current appication. |
| public String | getContextName()
Overrides jakarta. Return the name of the container context for this application. |
| public Flash | getFlash()
Overrides jakarta.
Return the threadsafe |
| public String | getInitParameter(String
Name of the requested initialization parameter name)Implements abstract jakarta. Return the value of the specified application initialization parameter (if any). |
| public Map | getInitParameterMap()
Implements abstract jakarta.
Return an immutable |
| public String | getMimeType(String
The file for which the mime type should be obtained. file)Overrides jakarta.
Returns the MIME type of the specified file or |
| public String | getRealPath(String
The context of the requested initialization parameter path)Overrides jakarta. Returns a String containing the real path for a given virtual path. |
| public String | getRemoteUser()
Implements abstract jakarta.
Return the login name of the user making the current request if any; otherwise, return |
| public Object | getRequest()
Implements abstract jakarta. Return the environment-specific object instance for the current request. |
| public String | getRequestCharacterEncoding()
Overrides jakarta. Return the character encoding currently being used to interpret this request. |
| public int | getRequestContentLength()
Overrides jakarta.
Return the result of calling |
| public String | getRequestContentType()
Overrides jakarta. Return the MIME Content-Type for this request. |
| public String | getRequestContextPath()
Implements abstract jakarta. Return the portion of the request URI that identifies the web application context for this request. |
| public Map | getRequestCookieMap()
Implements abstract jakarta.
Return an immutable |
| public Map | getRequestHeaderMap()
Implements abstract jakarta.
Return an immutable |
| public Map | getRequestHeaderValuesMap()
Implements abstract jakarta.
Return an immutable |
| public Locale | getRequestLocale()
Implements abstract jakarta.
Return the preferred |
| public Iterator | getRequestLocales()
Implements abstract jakarta.
Return an |
| public Map | getRequestMap()
Implements abstract jakarta.
Return a mutable |
| public Map | getRequestParameterMap()
Implements abstract jakarta.
Return an immutable |
| public Iterator | getRequestParameterNames()
Implements abstract jakarta.
Return an |
| public Map | getRequestParameterValuesMap()
Implements abstract jakarta.
Return an immutable |
| public String | getRequestPathInfo()
Implements abstract jakarta.
Return the extra path information (if any) included in the request URI; otherwise, return |
| public String | getRequestServletPath()
Implements abstract jakarta.
Return the Jakarta 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 jakarta.
Return a |
| public InputStream | getResourceAsStream(String
The path to the requested resource, which must start with a slash ("/" character path)Implements abstract jakarta.
Return an |
| public Set | getResourcePaths(String
Partial path used to match resources, which must start with a slash ("/") character path)Implements abstract jakarta.
Return the |
| public Object | getResponse()
Implements abstract jakarta. Return the environment-specific object instance for the current response. |
| public String | getResponseCharacterEncoding()
Overrides jakarta. Returns the name of the character encoding (MIME charset) used for the body sent in this response. |
| public String | getResponseContentType()
Overrides jakarta. 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 jakarta.
If the |
| public Map | getSessionMap()
Implements abstract jakarta.
Return a mutable |
| public Principal | getUserPrincipal()
Implements abstract jakarta.
Return the |
| public boolean | isUserInRole(String
Logical role name to be checked role)Implements abstract jakarta.
Return |
| public void | log(String
Message to be logged message)Implements abstract jakarta. 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 jakarta. 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 jakarta.
Redirect a request to the specified URL, and cause the
|
| public void | release()
Implements abstract jakarta.
Release any resources associated with this |
| public void | setRequest(Object
the request object to be set. request)Overrides jakarta.
Set the environment-specific request to be returned by subsequent calls to |
| public void | setRequestCharacterEncoding(String
the encoding name to be set. requestCharacterEncoding)Overrides jakarta. 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 jakarta.
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 jakarta. 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 jakarta. Set the response header with the given name and value. |