Example usage for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage

List of usage examples for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage.

Usage

From source file com.work.petclinic.config.WebMvcConfig.java

/**
 * Configures View-related items.
 *
 * @author Arnaldo Piccinelli
 */
@Configuration

From source file com.github.vanroy.cloud.dashboard.config.CloudDashboardConfig.java

/**
 * Spring Cloud Dashboard WebApp configuration
 * @author Julien Roy
 */
@Configuration
@ComponentScan("com.github.vanroy.cloud.dashboard")

From source file com.appspot.potlachkk.Application.java

@Configuration
@ComponentScan("com.appspot.potlachkk.*")
@EnableWebMvc
@Controller
public class Application extends WebMvcConfigurerAdapter {

From source file com.hexin.config.SpringWebConfig.java

@Configuration
public class SpringWebConfig extends WebMvcConfigurerAdapter implements ApplicationContextAware {

    public static final String CHARACTER_ENCODING = "UTF-8";

    private ApplicationContext applicationContext;

From source file org.bitcoinrt.spring.config.ServerConfig.java

@Configuration
@ComponentScan(basePackages = "org.bitcoinrt.spring.controller")
@EnableWebMvc
@Import(ClientConfig.class)
public class ServerConfig extends WebMvcConfigurerAdapter {

From source file org.jblogcms.core.config.WebMvcContext.java

/**
 * @author Victor Andreenko
 */
@Configuration
@ComponentScan(basePackages = { "org.jblogcms.core.*.controller", "org.jblogcms.core.*.converter" })
@EnableWebMvc

From source file com.urservices.urerp.ecole.config.web.WebConfig.java

/**
 *
 * @author samuel < smlfolong@gmail.com >
 */
@Configuration
@EnableWebMvc

From source file io.lavagna.config.WebConfig.java

@EnableWebMvc
@ComponentScan(basePackages = "io.lavagna.web")
// scan only the web controller, the rest is done statically
public class WebConfig extends WebMvcConfigurerAdapter {

    @Autowired

From source file org.zhangmz.pickles.conf.WebMvcConfig.java

/**
 * @author liuzh_3nofxnp
 * @since 2015-12-19 16:16
 * 
 * 
 * 2016-01-06

From source file cz.cvut.zuul.samples.client.config.WebContextConfig.java

/**
 * This configuration is currently used only when the application is
 * initialized via {@link ServletInitializer}, otherwise is ignored.
 */
@Configuration
@EnableWebMvc