public class HttpMessagingErrorHandler extends HttpErrorHandler
writeFailureLogPattern| コンストラクタと説明 |
|---|
HttpMessagingErrorHandler() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 インタフェース内 Handler<HttpRequest,HttpResponse>handle インタフェース内 HttpRequestHandlerhandle クラス内 HttpErrorHandlerreq - HTTPリクエストオブジェクトctx - サーバサイド実行コンテキストオブジェクトprotected HttpResponse handleError(java.lang.Throwable e, HttpRequest req, ExecutionContext ctx)
e - 発生した例外req - HTTPリクエストctx - 実行時コンテキスト