Package org.springframework.web.servlet.config.annotation

Examples of org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter


@ComponentScan(excludeFilters = @Filter(Configuration.class))
public class RestConfiguration {

  @Bean
  public WebMvcConfigurer configurer() {
    return new WebMvcConfigurerAdapter() {

      @Value("${xd.ui.allow_origin:http://localhost:9889}")
      private String allowedOrigin;

      @Override
View Full Code Here

TOP

Related Classes of org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.