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, toString
public void handle(java.lang.String pathInContext, java.lang.String pathParams, HttpRequest request, HttpResponse response) throws HttpException, java.io.IOException
HttpHandler
pathInContext
- The context pathpathParams
- Path parameters such as encoded Session IDrequest
- The HttpRequest requestresponse
- The HttpResponse responseHttpException
java.io.IOException
protected void writeErrorPage(HttpRequest request, java.io.Writer writer, int code, java.lang.String message) throws java.io.IOException
java.io.IOException
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.