インターフェースの使用
org.springframework.boot.web.reactive.error.ErrorAttributes
ErrorAttributes を使用するパッケージ
org.springframework.boot.autoconfigure.web.reactive.error 内の ErrorAttributes 使用
型 ErrorAttributes のパラメーターを持つ org.springframework.boot.autoconfigure.web.reactive.error のメソッド修飾子と型メソッド説明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) 型 ErrorAttributes のパラメーターを持つ org.springframework.boot.autoconfigure.web.reactive.error のコンストラクター修飾子コンストラクター説明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 使用