| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| protected List | |
| protected Map | |
| protected ServletContext | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addErrorPage(Class<T>
The class (or superclass) of the matching exceptions exception, String The URI of the error page. uri)Add Error Page mapping for an exception class This method is called as a result of an exception-type element in a web.xml file or may be called directly |
| public void | addErrorPage(int
The HTTP status code to match code, String The URI of the error page. uri)Add Error Page mapping for a status code. |
| public void | addErrorPage(int
The lowest matching status code from, int The highest matching status code to, String The URI of the error page. uri)Add Error Page mapping for a status code range. |
| protected void | |
| protected void | |
| public Map | |
| public void | handle(String
The target of the request - either a URI or a name. target, HttpServletRequest The request either as the request, HttpServletResponse Request
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Request object if required.The response as the response, int dispatch)Response
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Response object if required.Overrides org. Implements org. |
| public void | setErrorPages(Map<K, V>
The errorPages to set. A map of Exception class name or error code as a string to URI string errorPages)
|
| _errorPageList | back to summary |
|---|---|
| protected List<E> _errorPageList | |
| _errorPages | back to summary |
|---|---|
| protected Map<K, V> _errorPages | |
| _servletContext | back to summary |
|---|---|
| protected ServletContext _servletContext | |
| ERROR_PAGE | back to summary |
|---|---|
| public static final String ERROR_PAGE | |
| ErrorPageErrorHandler | back to summary |
|---|---|
| public ErrorPageErrorHandler() | |
| addErrorPage | back to summary |
|---|---|
| public void addErrorPage(Class<T> exception, String uri) Add Error Page mapping for an exception class This method is called as a result of an exception-type element in a web.xml file or may be called directly | |
| addErrorPage | back to summary |
|---|---|
| public void addErrorPage(int code, String uri) Add Error Page mapping for a status code. This method is called as a result of an error-code element in a web.xml file or may be called directly
| |
| addErrorPage | back to summary |
|---|---|
| public void addErrorPage(int from, int to, String uri) Add Error Page mapping for a status code range. This method is not available from web.xml and must be called directly.
| |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. | |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception | |
| getErrorPages | back to summary |
|---|---|
public Map
| |
| handle | back to summary |
|---|---|
| public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException Overrides org. Implements org. Doc from org. Handle a request.
| |
| setErrorPages | back to summary |
|---|---|
public void setErrorPages(Map<K, V> errorPages)
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | |
| pack-priv boolean | |
| public String |
| _from | back to summary |
|---|---|
| private int _from | |
| _to | back to summary |
|---|---|
| private int _to | |
| _uri | back to summary |
|---|---|
| private String _uri | |
| ErrorCodeRange | back to summary |
|---|---|
| pack-priv ErrorCodeRange(int from, int to, String uri) throws IllegalArgumentException | |
| getUri | back to summary |
|---|---|
| pack-priv String getUri() | |
| isInRange | back to summary |
|---|---|
| pack-priv boolean isInRange(int value) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |