Examples of WebMvcConfigurerAdapter


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
Copyright © 2018 www.massapi.com. 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.