List of usage examples for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage
From source file example.WebConfig.java
/**
* Temporarily required manual configuration of resource handling to activate the resource chain handling.
*
* @author Brian Clozel
*/
@Configuration
From source file org.talend.components.webtest.Application.java
/** * Used the test the component service and the Salesforce components with an external web service. */ @SpringBootApplication @ComponentScan(basePackages = "org.talend.components", nameGenerator = BndToSpringBeanNameGenerator.class, includeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = aQute.bnd.annotation.component.Component.class), excludeFilters = @ComponentScan.Filter(type = FilterType.REGEX, pattern = ".*Osgi")) // @Configuration
From source file com.boaglio.controller.IndexController.java
@Controller public class IndexController extends WebMvcConfigurerAdapter { @GetMapping("/hello") public String hello(Map<String, Object> model, HttpServletRequest httpServletRequest) {
From source file com.torchmind.stockpile.server.configuration.WebMvcConfiguration.java
/**
* <strong>Web MVC Configuration</strong>
*
* Configures Spring's web MVC component for use with pure REST based communication.
*
* @author <a href="mailto:johannesd@torchmind.com">Johannes Donath</a>
From source file com.foilen.smalltools.restapi.spring.MvcJsonSpringConfig.java
/**
* To configure Spring MVC to render using JSON.
*
* <pre>
* Dependencies:
* compile 'com.fasterxml.jackson.core:jackson-databind:2.9.1'
From source file com.videohub.configuration.WebConfiguration.java
/**
* Created by: Sebastian Florek.
* Created on: 2015-06-05.
*/
@Configuration
@EnableWebMvc
From source file example.springdata.rest.stores.WebConfig.java
/**
* Temporarily required manual configuration of resource handling to activate the resource chain handling.
*
* @author Brian Clozel
*/
@Configuration
From source file it.reply.orchestrator.config.WebMvcConfig.java
@Configuration public class WebMvcConfig extends WebMvcConfigurerAdapter { public static final long MAX_UPLOAD_SIZE = 1 * 1024 * 1024; // 1 MByte @Override
From source file de.metas.ui.web.config.WebConfig.java
@Configuration // @EnableWebMvc // NOTE: if u enable it, the swagger won't work! public class WebConfig extends WebMvcConfigurerAdapter { public static final String ENDPOINT_ROOT = "/rest/api"; //
From source file example.users.Application.java
/** * @author Christoph Strobl * @author Oliver Gierke */ @SpringBootApplication public class Application extends WebMvcConfigurerAdapter {