org.atmosphere.samples.pubsub.config
Class WebAppConfiguration

java.lang.Object
  extended by org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
      extended by org.atmosphere.samples.pubsub.config.WebAppConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration
@EnableWebMvc
public class WebAppConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter


Constructor Summary
WebAppConfiguration()
           
 
Method Summary
 void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
           
 void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
           
 void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
           
 void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
           
 void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
           
 org.springframework.web.servlet.ViewResolver viewResolver()
           
 
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addFormatters, addInterceptors, addReturnValueHandlers, configureHandlerExceptionResolvers, getValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAppConfiguration

public WebAppConfiguration()
Method Detail

addViewControllers

public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
Specified by:
addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Overrides:
addViewControllers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

viewResolver

@Bean
public org.springframework.web.servlet.ViewResolver viewResolver()

configureMessageConverters

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

addArgumentResolvers

public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
Specified by:
addArgumentResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Overrides:
addArgumentResolvers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

configureDefaultServletHandling

public void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
Specified by:
configureDefaultServletHandling in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Overrides:
configureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

addResourceHandlers

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


Copyright © 2012. All Rights Reserved.