List of usage examples for org.springframework.web.servlet.config.annotation PathMatchConfigurer setUseTrailingSlashMatch
public PathMatchConfigurer setUseTrailingSlashMatch(Boolean trailingSlashMatch)
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: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); }