public class HttpMessagingErrorHandler extends HttpErrorHandler
writeFailureLogPattern| Constructor and Description |
|---|
HttpMessagingErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
handle(HttpRequest req,
ExecutionContext ctx)
HTTPリクエストに対する処理を実行する。
|
protected HttpResponse |
handleError(java.lang.Throwable e,
HttpRequest req,
ExecutionContext ctx)
発生した例外に応じたログ出力処理を行う。
|
getDefaultPageFor, setDefaultPage, setDefaultPages, setWriteFailureLogPatternpublic HttpResponse handle(HttpRequest req, ExecutionContext ctx)
HttpErrorHandlerhandle in interface Handler<HttpRequest,HttpResponse>handle in interface HttpRequestHandlerhandle in class HttpErrorHandlerreq - HTTPリクエストオブジェクトctx - サーバサイド実行コンテキストオブジェクトprotected HttpResponse handleError(java.lang.Throwable e, HttpRequest req, ExecutionContext ctx)
e - 発生した例外req - HTTPリクエストctx - 実行時コンテキスト