@EnableConfigurationProperties(value={org.springframework.boot.autoconfigure.web.ServerProperties.class,org.springframework.boot.autoconfigure.web.ResourceProperties.class})
public class ErrorHandlerConfiguration
extends Object
| Constructor and Description |
|---|
ErrorHandlerConfiguration(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.boot.autoconfigure.web.ResourceProperties resourceProperties,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.web.reactive.result.view.ViewResolver>> viewResolversProvider,
org.springframework.http.codec.ServerCodecConfigurer serverCodecConfigurer,
org.springframework.context.ApplicationContext applicationContext)
Instantiates a new Error handler configuration.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler |
errorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes)
Error web exception handler error web exception handler.
|
org.springframework.web.filter.reactive.HiddenHttpMethodFilter |
hiddenHttpMethodFilter()
Hidden http method filter hidden http method filter.
|
public ErrorHandlerConfiguration(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.boot.autoconfigure.web.ResourceProperties resourceProperties,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.web.reactive.result.view.ViewResolver>> viewResolversProvider,
org.springframework.http.codec.ServerCodecConfigurer serverCodecConfigurer,
org.springframework.context.ApplicationContext applicationContext)
serverProperties - the server propertiesresourceProperties - the resource propertiesviewResolversProvider - the view resolvers providerserverCodecConfigurer - the server codec configurerapplicationContext - the application context@Bean @Order(value=-2147483647) public org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler errorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes)
errorAttributes - the error attributes@Bean public org.springframework.web.filter.reactive.HiddenHttpMethodFilter hiddenHttpMethodFilter()
Copyright © 2021 The Apache Software Foundation. All rights reserved.