Class BasicWebMvcConfig

java.lang.Object
net.ideahut.springboot.config.BasicWebMvcConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@EnableWebMvc public abstract class BasicWebMvcConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     
    void
    addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
     
    void
    configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
     
    void
    configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
     
    protected abstract DataMapper
     
    protected abstract boolean
     
    protected abstract boolean
     
    protected abstract org.springframework.web.servlet.HandlerInterceptor[]
     
    protected abstract Map<String,org.springframework.http.MediaType>
     
    protected abstract String
     
    protected abstract Map<String,String>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • BasicWebMvcConfig

      public BasicWebMvcConfig()
  • Method Details

    • configureContentNegotiation

      public void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
      Specified by:
      configureContentNegotiation in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • configureMessageConverters

      public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
      Specified by:
      configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addResourceHandlers

      public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
      Specified by:
      addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addInterceptors

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • parameterName

      protected abstract String parameterName()
    • enableExtension

      protected abstract boolean enableExtension()
    • enableAcceptHeader

      protected abstract boolean enableAcceptHeader()
    • dataMapper

      protected abstract DataMapper dataMapper()
    • handlerInterceptors

      protected abstract org.springframework.web.servlet.HandlerInterceptor[] handlerInterceptors()
    • resourceHandlers

      protected abstract Map<String,String> resourceHandlers()
    • mediaTypes

      protected abstract Map<String,org.springframework.http.MediaType> mediaTypes()