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 unic.mentoring.springmvc.AppConfig.java

@Configuration
@EnableWebMvc
public class AppConfig extends WebMvcConfigurerAdapter {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        //      registry.addResourceHandler("/res/**").addResourceLocations("(/res/");

From source file co.agileventure.jwtauth.web.config.StaticResourceConfiguration.java

@Configuration
public class StaticResourceConfiguration extends WebMvcConfigurerAdapter {

    @Value("${static.resources.filepath}")
    private String staticFilepath;

From source file uits.school.web.conf.StaticResourcesConfigurer.java

/**
 *
 * @author user
 */
@Configuration
@EnableWebMvc

From source file pl.edu.icm.comac.vis.server.WebConfiguration.java

/**
 *
 * @author Aleksander Nowinski <a.nowinski@icm.edu.pl>
 */
@Configuration
public class WebConfiguration extends WebMvcConfigurerAdapter {

From source file com.sg.rest.spring.SpringServletContextConfiguration.java

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

From source file net.mamian.mySpringboot.WebAppConfigurer.java

/**
 *
 *
 * @author mamian
 * @mail mamianskyma@aliyun.com
 * @date 2016-8-10 15:08:57

From source file com.carranza.web.examenbimestral.WebAppConfig.java

@EnableWebMvc

//Activar para configuracion. A quien inyectar independencias
@Configuration

//De donde escaneara las configuraciones

From source file com.nirwansyah.dicka.springboot.webconfig.ConfigWeb.java

/**
 *
 * @author dickajava
 */

@Configuration

From source file com.sg.rest.spring.WebApplicationContext.java

/**
 *
 * @author tarasev
 */
//http://www.mkyong.com/spring-security/spring-security-hello-world-annotation-example/
//http://www.luckyryan.com/2013/02/07/migrate-spring-mvc-servlet-xml-to-java-config/

From source file wad.MvcConfig.java

/**
 *
 * @author Pete
 */
//@EnableWebMvc
//@Configuration