インターフェースの使用
org.springframework.web.ErrorResponse.Interceptor
ErrorResponse.Interceptor を使用するパッケージ
パッケージ
説明
Spring WebFlux 構成インフラストラクチャ。
アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。
Spring MVC のアノテーションベースのセットアップ。
org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.web.reactive.config 内の ErrorResponse.Interceptor 使用
型 ErrorResponse.Interceptor の引数を持つ型を返す org.springframework.web.reactive.config のメソッド修飾子と型メソッド説明protected final ListSE<ErrorResponse.Interceptor>WebFluxConfigurationSupport.getErrorResponseInterceptors()エラーレスポンスをレンダリングするときに結果ハンドラーに適用するErrorResponse.Interceptorのリストへのアクセスを提供します。型 ErrorResponse.Interceptor の型引数を持つ org.springframework.web.reactive.config のメソッドパラメーター修飾子と型メソッド説明default voidWebFluxConfigurer.addErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) RFC 9457ProblemDetailエラーレスポンスをレンダリングするときに呼び出すErrorResponse.Interceptorのリストに追加します。voidWebFluxConfigurerComposite.addErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) protected voidDelegatingWebFluxConfiguration.configureErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) protected voidWebFluxConfigurationSupport.configureErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) エラーレスポンスをレンダリングするときの結果処理に適用するErrorResponse.Interceptorを制御するには、このメソッドをオーバーライドします。org.springframework.web.reactive.result.method.annotation 内の ErrorResponse.Interceptor 使用
型 ErrorResponse.Interceptor の引数を持つ型を返す org.springframework.web.reactive.result.method.annotation のメソッド修飾子と型メソッド説明AbstractMessageWriterResultHandler.getErrorResponseInterceptors()構成されたErrorResponse.Interceptorを返します。org.springframework.web.servlet.config.annotation 内の ErrorResponse.Interceptor 使用
型 ErrorResponse.Interceptor の引数を持つ型を返す org.springframework.web.servlet.config.annotation のメソッド修飾子と型メソッド説明protected final ListSE<ErrorResponse.Interceptor>WebMvcConfigurationSupport.getErrorResponseInterceptors()エラーレスポンスをレンダリングするときに適用するErrorResponse.Interceptorのリストへのアクセスを提供します。型 ErrorResponse.Interceptor の型引数を持つ org.springframework.web.servlet.config.annotation のメソッドパラメーター修飾子と型メソッド説明default voidWebMvcConfigurer.addErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) RFC 9457ProblemDetailエラーレスポンスをレンダリングするときに適用するErrorResponse.Interceptorのリストに追加します。protected voidDelegatingWebMvcConfiguration.configureErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) protected voidWebMvcConfigurationSupport.configureErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) エラーレスポンスをレンダリングするときに適用するErrorResponse.Interceptorを制御するには、このメソッドをオーバーライドします。org.springframework.web.servlet.mvc.method.annotation 内の ErrorResponse.Interceptor 使用
型 ErrorResponse.Interceptor の引数を持つ型を返す org.springframework.web.servlet.mvc.method.annotation のメソッド修飾子と型メソッド説明ExceptionHandlerExceptionResolver.getErrorResponseInterceptors()RequestMappingHandlerAdapter.getErrorResponseInterceptors()型 ErrorResponse.Interceptor の型引数を持つ org.springframework.web.servlet.mvc.method.annotation のメソッドパラメーター修飾子と型メソッド説明voidExceptionHandlerExceptionResolver.setErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) RFC 9457ProblemDetailエラーレスポンスをレンダリングするときに適用するErrorResponse.Interceptorのリストを構成します。voidRequestMappingHandlerAdapter.setErrorResponseInterceptors(ListSE<ErrorResponse.Interceptor> interceptors) RFC 9457ProblemDetailエラーレスポンスをレンダリングするときに適用するErrorResponse.Interceptorのリストを構成します。