| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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.Implements org. |
| protected void | |
| public boolean | |
| public void | |
| protected void | writeErrorPage(HttpServletRequest request, Writer writer, int code, String message, boolean showStacks)
|
| protected void | writeErrorPageBody(HttpServletRequest request, Writer writer, int code, String message, boolean showStacks)
|
| protected void | |
| protected void | writeErrorPageMessage(HttpServletRequest request, Writer writer, int code, String message, String uri)
|
| protected void |
| _showStacks | back to summary |
|---|---|
| pack-priv boolean _showStacks | |
| ErrorHandler | back to summary |
|---|---|
| public ErrorHandler() | |
| handle | back to summary |
|---|---|
| public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException Implements org. Doc from org. Handle a request.
| |
| handleErrorPage | back to summary |
|---|---|
| protected void handleErrorPage(HttpServletRequest request, Writer writer, int code, String message) throws IOException | |
| isShowStacks | back to summary |
|---|---|
public boolean isShowStacks()
| |
| setShowStacks | back to summary |
|---|---|
public void setShowStacks(boolean showStacks)
| |
| writeErrorPage | back to summary |
|---|---|
| protected void writeErrorPage(HttpServletRequest request, Writer writer, int code, String message, boolean showStacks) throws IOException | |
| writeErrorPageBody | back to summary |
|---|---|
| protected void writeErrorPageBody(HttpServletRequest request, Writer writer, int code, String message, boolean showStacks) throws IOException | |
| writeErrorPageHead | back to summary |
|---|---|
| protected void writeErrorPageHead(HttpServletRequest request, Writer writer, int code, String message) throws IOException | |
| writeErrorPageMessage | back to summary |
|---|---|
| protected void writeErrorPageMessage(HttpServletRequest request, Writer writer, int code, String message, String uri) throws IOException | |
| writeErrorPageStacks | back to summary |
|---|---|
| protected void writeErrorPageStacks(HttpServletRequest request, Writer writer) throws IOException | |