public class ErrorPageHandler extends AbstractHttpHandler
| Constructor and Description |
|---|
ErrorPageHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
Handle a request.
|
protected void |
writeErrorPage(HttpRequest request,
java.io.Writer writer,
int code,
java.lang.String message) |
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toStringpublic void handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
throws HttpException,
java.io.IOException
HttpHandlerpathInContext - The context pathpathParams - Path parameters such as encoded Session IDrequest - The HttpRequest requestresponse - The HttpResponse responseHttpExceptionjava.io.IOExceptionprotected void writeErrorPage(HttpRequest request, java.io.Writer writer, int code, java.lang.String message) throws java.io.IOException
java.io.IOExceptionCopyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.