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 void addCorsMappings​(org.springframework.web.reactive.config.CorsRegistry registry)  
    protected void addFormatters​(org.springframework.format.FormatterRegistry registry)  
    protected void addResourceHandlers​(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)  
    protected void configureArgumentResolvers​(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)  
    protected void configureContentTypeResolver​(org.springframework.web.reactive.accept.RequestedContentTypeResolverBuilder builder)  
    protected void configureHttpMessageCodecs​(org.springframework.http.codec.ServerCodecConfigurer configurer)  
    void configurePathMatching​(org.springframework.web.reactive.config.PathMatchConfigurer configurer)  
    protected void configureViewResolvers​(org.springframework.web.reactive.config.ViewResolverRegistry registry)  
    protected org.springframework.validation.MessageCodesResolver getMessageCodesResolver()  
    protected org.springframework.validation.Validator getValidator()  
    void setConfigurers​(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, webHandler

    Methods 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:
      configureContentTypeResolver in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • addCorsMappings

      protected void addCorsMappings​(org.springframework.web.reactive.config.CorsRegistry registry)
      Overrides:
      addCorsMappings in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • configurePathMatching

      public void configurePathMatching​(org.springframework.web.reactive.config.PathMatchConfigurer configurer)
      Overrides:
      configurePathMatching in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • addResourceHandlers

      protected void addResourceHandlers​(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
      Overrides:
      addResourceHandlers in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • configureArgumentResolvers

      protected void configureArgumentResolvers​(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
      Overrides:
      configureArgumentResolvers in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • configureHttpMessageCodecs

      protected void configureHttpMessageCodecs​(org.springframework.http.codec.ServerCodecConfigurer configurer)
      Overrides:
      configureHttpMessageCodecs in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • addFormatters

      protected void addFormatters​(org.springframework.format.FormatterRegistry registry)
      Overrides:
      addFormatters in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • getValidator

      protected org.springframework.validation.Validator getValidator()
      Overrides:
      getValidator in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • getMessageCodesResolver

      protected org.springframework.validation.MessageCodesResolver getMessageCodesResolver()
      Overrides:
      getMessageCodesResolver in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • configureViewResolvers

      protected void configureViewResolvers​(org.springframework.web.reactive.config.ViewResolverRegistry registry)
      Overrides:
      configureViewResolvers in class org.springframework.web.reactive.config.WebFluxConfigurationSupport