Class ReHandlingErrorHandler
java.lang.Object
org.eclipse.jetty.server.handler.ErrorHandler
org.eclipse.jetty.server.handler.ReHandlingErrorHandler
- All Implemented Interfaces:
- Request.Handler, Invocable
- Direct Known Subclasses:
- ReHandlingErrorHandler.ByHttpStatus
An 
ErrorHandler that can re-handle a request at an error page location.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classAnReHandlingErrorHandlerthat uses a map of error codes to select a page.Nested classes/interfaces inherited from class ErrorHandlerErrorHandler.ErrorRequestNested classes/interfaces inherited from interface InvocableInvocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.TaskNested classes/interfaces inherited from interface Request.HandlerRequest.Handler.AbortException
- 
Field SummaryFields inherited from class ErrorHandlerERROR_CACHE_CONTROL, ERROR_CONTEXT, ERROR_EXCEPTION, ERROR_MESSAGE, ERROR_METHODS, ERROR_STATUSFields inherited from interface Invocable__nonBlocking, NOOP
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidgenerateResponse(Request request, Response response, int code, String message, Throwable cause, Callback callback) protected abstract StringgetReHandlePathInContext(Request request, int code, Throwable cause) Methods inherited from class ErrorHandlerbadMessageError, computeBufferSize, errorPageForMethod, generateAcceptableResponse, getBufferSize, getCacheControl, getDefaultResponseMimeType, getErrorHandler, handle, isShowCauses, isShowMessageInTitle, isShowStacks, setBufferSize, setCacheControl, setDefaultResponseMimeType, setShowCauses, setShowMessageInTitle, setShowStacks, write, writeErrorHtml, writeErrorHtmlBody, writeErrorHtmlHead, writeErrorHtmlMessage, writeErrorHtmlMeta, writeErrorHtmlStacks, writeErrorJson, writeErrorPlain
- 
Constructor Details- 
ReHandlingErrorHandler
 
- 
- 
Method Details- 
getInvocationType- Returns:
- The InvocationType of this object
 
- 
generateResponseprotected void generateResponse(Request request, Response response, int code, String message, Throwable cause, Callback callback) throws IOException - Overrides:
- generateResponsein class- ErrorHandler
- Throws:
- IOException
 
- 
getReHandlePathInContext
 
-