@Configuration @ConditionalOnWebApplication(type=REACTIVE) public class CommonWebFluxConfiguration extends Object
| 构造器和说明 |
|---|
CommonWebFluxConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
CommonErrorControllerAdvice |
commonErrorControllerAdvice() |
org.springframework.web.server.WebFilter |
localeWebFilter() |
io.r2dbc.spi.R2dbcDataIntegrityViolationException |
r2dbcDataIntegrityViolationException() |
ResponseMessageWrapper |
responseMessageWrapper(org.springframework.http.codec.ServerCodecConfigurer codecConfigurer,
org.springframework.web.reactive.accept.RequestedContentTypeResolver resolver,
org.springframework.core.ReactiveAdapterRegistry registry) |
@Bean @ConditionalOnMissingBean public CommonErrorControllerAdvice commonErrorControllerAdvice()
@Bean
@ConditionalOnProperty(prefix="hsweb.webflux.response-wrapper",
name="enabled",
havingValue="true",
matchIfMissing=true)
@ConfigurationProperties(prefix="hsweb.webflux.response-wrapper")
public ResponseMessageWrapper responseMessageWrapper(org.springframework.http.codec.ServerCodecConfigurer codecConfigurer,
org.springframework.web.reactive.accept.RequestedContentTypeResolver resolver,
org.springframework.core.ReactiveAdapterRegistry registry)
@Bean public io.r2dbc.spi.R2dbcDataIntegrityViolationException r2dbcDataIntegrityViolationException()
@Bean public org.springframework.web.server.WebFilter localeWebFilter()
Copyright © 2016–2022. All rights reserved.