List of usage examples for org.springframework.web.util UrlPathHelper setAlwaysUseFullPath
public void setAlwaysUseFullPath(boolean alwaysUseFullPath)
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:org.cfr.capsicum.server.CayenneFilter.java
@Override public void afterPropertiesSet() throws ServletException { super.afterPropertiesSet(); if (includeFilterPatterns == null) { this.includeFilterPatterns = new String[] { "**/*" }; }/*from w ww .ja va 2s.c o m*/ UrlPathHelper pathHelper = new UrlPathHelper(); pathHelper.setAlwaysUseFullPath(alwaysUseFullPath); pathHelper.setUrlDecode(urlDecode); conditionIncluded = new PatternsRequestCondition(includeFilterPatterns, pathHelper, null, true, true); if (excludeFilterPatterns != null) { conditionExcluded = new PatternsRequestCondition(excludeFilterPatterns, pathHelper, null, true, true); } }