インターフェースの使用
org.springframework.boot.web.reactive.error.ErrorAttributes
org.springframework.boot.autoconfigure.web.reactive.error 内の ErrorAttributes 使用
修飾子と型メソッド説明ErrorWebFluxAutoConfiguration.errorWebExceptionHandler
(ErrorAttributes errorAttributes, WebProperties webProperties, ObjectProvider<ViewResolver> viewResolvers, ServerCodecConfigurer serverCodecConfigurer, ApplicationContext applicationContext) protected abstract RouterFunction<ServerResponse>
AbstractErrorWebExceptionHandler.getRoutingFunction
(ErrorAttributes errorAttributes) JSON レスポンスまたは HTML ビューとしてエラーをルーティングおよび処理できるRouterFunction
を作成します。protected RouterFunction<ServerResponse>
DefaultErrorWebExceptionHandler.getRoutingFunction
(ErrorAttributes errorAttributes) 修飾子コンストラクター説明AbstractErrorWebExceptionHandler
(ErrorAttributes errorAttributes, WebProperties.Resources resources, ApplicationContext applicationContext) 新しいAbstractErrorWebExceptionHandler
を作成します。DefaultErrorWebExceptionHandler
(ErrorAttributes errorAttributes, WebProperties.Resources resources, ErrorProperties errorProperties, ApplicationContext applicationContext) 新しいDefaultErrorWebExceptionHandler
インスタンスを作成します。org.springframework.boot.web.reactive.error 内の ErrorAttributes 使用