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, toStringpublic void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response) throws HttpException, IOException
HttpHandlerpathInContext - The context pathpathParams - Path parameters such as encoded Session IDrequest - The HttpRequest requestresponse - The HttpResponse responseHttpExceptionIOExceptionprotected void writeErrorPage(HttpRequest request, Writer writer, int code, String message) throws IOException
IOExceptionCopyright © 2014. All rights reserved.