Uses of Interface
org.springframework.web.ErrorResponse.Interceptor
Package
Description
Spring WebFlux configuration infrastructure.
Infrastructure for annotation-based handler method processing.
Annotation-based setup for Spring MVC.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
Uses of ErrorResponse.Interceptor in org.springframework.web.reactive.config
Modifier and TypeMethodDescriptionprotected final List<ErrorResponse.Interceptor>
WebFluxConfigurationSupport.getErrorResponseInterceptors()
Provide access to the list ofErrorResponse.Interceptor
's to apply in result handlers when rendering error responses.Modifier and TypeMethodDescriptiondefault void
WebFluxConfigurer.addErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) Add to the list ofErrorResponse.Interceptor
's to invoke when rendering an RFC 9457ProblemDetail
error response.void
WebFluxConfigurerComposite.addErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) protected void
DelegatingWebFluxConfiguration.configureErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) protected void
WebFluxConfigurationSupport.configureErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) Override this method for control over theErrorResponse.Interceptor
's to apply in result handling when rendering error responses. -
Uses of ErrorResponse.Interceptor in org.springframework.web.reactive.result.method.annotation
Modifier and TypeMethodDescriptionAbstractMessageWriterResultHandler.getErrorResponseInterceptors()
Return the configuredErrorResponse.Interceptor
's. -
Uses of ErrorResponse.Interceptor in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionprotected final List<ErrorResponse.Interceptor>
WebMvcConfigurationSupport.getErrorResponseInterceptors()
Provide access to the list ofErrorResponse.Interceptor
's to apply when rendering error responses.Modifier and TypeMethodDescriptiondefault void
WebMvcConfigurer.addErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) Add to the list ofErrorResponse.Interceptor
's to apply when rendering an RFC 9457ProblemDetail
error response.protected void
DelegatingWebMvcConfiguration.configureErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) protected void
WebMvcConfigurationSupport.configureErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) Override this method for control over theErrorResponse.Interceptor
's to apply when rendering error responses. -
Uses of ErrorResponse.Interceptor in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionExceptionHandlerExceptionResolver.getErrorResponseInterceptors()
Return theconfigured
ErrorResponse.Interceptor
's.RequestMappingHandlerAdapter.getErrorResponseInterceptors()
Return theconfigured
ErrorResponse.Interceptor
's.Modifier and TypeMethodDescriptionvoid
ExceptionHandlerExceptionResolver.setErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) Configure a list ofErrorResponse.Interceptor
's to apply when rendering an RFC 9457ProblemDetail
error response.void
RequestMappingHandlerAdapter.setErrorResponseInterceptors
(List<ErrorResponse.Interceptor> interceptors) Configure a list ofErrorResponse.Interceptor
's to apply when rendering an RFC 9457ProblemDetail
error response.