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 org.bugkillers.springfox.SpringfoxConfig.java

/**
* ????API
* Springxml??? @see @EnableWebMvc 
* <p/>
* <p> @author 
*

From source file com.chuangtc.config.AppConfig.java

@Configuration //Marks this class as configuration
//Specifies which package to scan, make sure the folder is what you point to the controllers folder
@ComponentScan("com.chuangtc.controllers")
//Enables Spring's annotations
@EnableWebMvc
public class AppConfig extends WebMvcConfigurerAdapter {

From source file com.zaijiadd.app.interceptor.SpringfoxConfig.java

/**
 * ????API
 * Springxml??? @see @EnableWebMvc 
 * <p/>
 * <p> @author 
 * <p/>

From source file com.mazmy.MainServerApplicant.java

@EnableSwagger2
@SpringBootApplication
public class MainServerApplicant extends WebMvcConfigurerAdapter {

    public static void main(String[] args) {
        SpringApplication.run(MainServerApplicant.class, args);

From source file org.zols.config.ZolsConfiguration.java

@Configuration
@ComponentScan("org.zols")
public class ZolsConfiguration extends WebMvcConfigurerAdapter {

    @Override
    public void addInterceptors(InterceptorRegistry registry) {

From source file ui.config.ApplicationConfig.java

/**
 *
 * @author Bawaw
 */
@Configuration
@ComponentScan("ui")

From source file br.com.mmsr.api.springConfig.WebConfig.java

/**
 *
 * @author Oneide
 */
@Configuration
@EnableWebMvc

From source file com.zaso.agent.config.SwaggerConfig.java

@Configuration
@EnableSwagger2

public class SwaggerConfig extends WebMvcConfigurerAdapter {

    @Bean

From source file com.sg.rest.spring.test.WebApplicationUnitTestContext.java

/**
 *
 * @author tarasev
 */
@Configuration
@EnableWebMvc

From source file com.aestheticsw.jobkeywords.web.config.WebConfiguration.java

/**
 * Configures the web layer to expose the CSS and Javascript files and to render either JSON or XML
 * in response to REST calls.
 */
@Configuration
// @EnableWebMvc disables the automatic configuration of the ContentNegotiatingViewResolver