List of usage examples for org.springframework.web.servlet.config.annotation PathMatchConfigurer setUseSuffixPatternMatch
public PathMatchConfigurer setUseSuffixPatternMatch(Boolean suffixPatternMatch)
From source file:it.reply.orchestrator.config.WebMvcConfig.java
@Override public void configurePathMatch(PathMatchConfigurer configurer) { configurer.setUseSuffixPatternMatch(false); configurer.setUseTrailingSlashMatch(true); super.configurePathMatch(configurer); }
From source file:cn.zhangxd.platform.common.web.config.WebConfig.java
@Override public void configurePathMatch(PathMatchConfigurer configurer) { configurer.setUseSuffixPatternMatch(false) // URL ?? .* ? .setUseTrailingSlashMatch(true); // ? URL ??? / }
From source file:io.lavagna.config.WebConfig.java
public void configurePathMatch( org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) { configurer.setUseSuffixPatternMatch(false); }
From source file:org.springframework.cloud.dataflow.server.config.web.WebConfiguration.java
@Bean public WebMvcConfigurer configurer() { return new WebMvcConfigurerAdapter() { @Override// w w w . j a v a 2 s. c o m public void configurePathMatch(PathMatchConfigurer configurer) { configurer.setUseSuffixPatternMatch(false); } }; }
From source file:com.mjeanroy.backbone_isomorphic.configuration.AppConfiguration.java
@Override public void configurePathMatch(PathMatchConfigurer configurer) { UrlPathHelper urlPathHelper = new UrlPathHelper(); urlPathHelper.setAlwaysUseFullPath(true); configurer.setUseSuffixPatternMatch(false).setUrlPathHelper(urlPathHelper); }
From source file:com.huffingtonpost.chronos.servlet.TestConfig.java
@Override public void configurePathMatch(PathMatchConfigurer configurer) { super.configurePathMatch(configurer); configurer.setUseSuffixPatternMatch(false); }
From source file:magoffin.matt.sobriquet.web.config.MvcConfig.java
@Override public void configurePathMatch(PathMatchConfigurer matcher) { // this turns off path variable truncation, to avoid treating a request like // PUT /alias/example.com // as /alias/example with a requested content type of "com" and instead use the default or Accept header matcher.setUseSuffixPatternMatch(false); }
From source file:ru.mystamps.web.config.MvcConfig.java
@Override public void configurePathMatch(PathMatchConfigurer configurer) { // If enabled a method mapped to "/users" also matches to "/users/" configurer.setUseTrailingSlashMatch(false); // If enabled a method mapped to "/users" also matches to "/users.*" configurer.setUseSuffixPatternMatch(false); }