Class WebConfig
java.lang.Object
org.springframework.web.reactive.config.WebFluxConfigurationSupport
com.cloudimpl.outstack.spring.component.WebConfig
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Configuration
public class WebConfig
extends org.springframework.web.reactive.config.WebFluxConfigurationSupport
- Author:
- nuwan
-
Constructor Summary
Constructors Constructor Description WebConfig() -
Method Summary
Modifier and Type Method Description protected voidaddCorsMappings(org.springframework.web.reactive.config.CorsRegistry registry)protected voidaddFormatters(org.springframework.format.FormatterRegistry registry)protected voidaddResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)protected voidconfigureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)protected voidconfigureContentTypeResolver(org.springframework.web.reactive.accept.RequestedContentTypeResolverBuilder builder)protected voidconfigureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)voidconfigurePathMatching(org.springframework.web.reactive.config.PathMatchConfigurer configurer)protected voidconfigureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)protected org.springframework.validation.MessageCodesResolvergetMessageCodesResolver()protected org.springframework.validation.ValidatorgetValidator()voidsetConfigurers(java.util.List<org.springframework.web.reactive.config.WebFluxConfigurer> configurers)Methods inherited from class org.springframework.web.reactive.config.WebFluxConfigurationSupport
createLocaleContextResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, createRouterFunctionMapping, getApplicationContext, getConfigurableWebBindingInitializer, getCorsConfigurations, getPathMatchConfigurer, getViewResolverRegistry, getWebSocketService, handlerFunctionAdapter, localeContextResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, resourceUrlProvider, responseBodyResultHandler, responseEntityResultHandler, responseStatusExceptionHandler, routerFunctionMapping, serverCodecConfigurer, serverResponseResultHandler, setApplicationContext, simpleHandlerAdapter, viewResolutionResultHandler, webFluxAdapterRegistry, webFluxContentTypeResolver, webFluxConversionService, webFluxValidator, webFluxWebSocketHandlerAdapter, webHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WebConfig
public WebConfig()
-
-
Method Details
-
setConfigurers
@Autowired(required=false) public void setConfigurers(java.util.List<org.springframework.web.reactive.config.WebFluxConfigurer> configurers) -
configureContentTypeResolver
protected void configureContentTypeResolver(org.springframework.web.reactive.accept.RequestedContentTypeResolverBuilder builder)- Overrides:
configureContentTypeResolverin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
addCorsMappings
protected void addCorsMappings(org.springframework.web.reactive.config.CorsRegistry registry)- Overrides:
addCorsMappingsin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
configurePathMatching
public void configurePathMatching(org.springframework.web.reactive.config.PathMatchConfigurer configurer)- Overrides:
configurePathMatchingin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
addResourceHandlers
protected void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)- Overrides:
addResourceHandlersin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
configureArgumentResolvers
protected void configureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)- Overrides:
configureArgumentResolversin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
configureHttpMessageCodecs
protected void configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)- Overrides:
configureHttpMessageCodecsin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
addFormatters
protected void addFormatters(org.springframework.format.FormatterRegistry registry)- Overrides:
addFormattersin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
getValidator
protected org.springframework.validation.Validator getValidator()- Overrides:
getValidatorin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
getMessageCodesResolver
protected org.springframework.validation.MessageCodesResolver getMessageCodesResolver()- Overrides:
getMessageCodesResolverin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
configureViewResolvers
protected void configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)- Overrides:
configureViewResolversin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-