public class ErrorPageHandler extends AbstractHttpHandler
Constructor and Description |
---|
ErrorPageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(String pathInContext,
String pathParams,
HttpRequest request,
HttpResponse response)
Handle a request.
|
protected void |
writeErrorPage(HttpRequest request,
Writer writer,
int code,
String message) |
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString
public void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response) throws HttpException, IOException
HttpHandler
pathInContext
- The context pathpathParams
- Path parameters such as encoded Session IDrequest
- The HttpRequest requestresponse
- The HttpResponse responseHttpException
IOException
protected void writeErrorPage(HttpRequest request, Writer writer, int code, String message) throws IOException
IOException
Copyright © 2013. All Rights Reserved.