public static class RequestMappingInfo.BuilderConfiguration extends Object
| Constructor and Description | 
|---|
| BuilderConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| ContentNegotiationManager | getContentNegotiationManager()Return the ContentNegotiationManager to use for the ProducesRequestCondition,
 if any. | 
| List<String> | getFileExtensions()Deprecated. 
 as of 5.2.4. See class-level note in
  RequestMappingHandlerMappingon the deprecation of path
 extension config options. | 
| PathMatcher | getPathMatcher()Return a custom PathMatcher to use for the PatternsRequestCondition, if any. | 
| PathPatternParser | getPatternParser() | 
| UrlPathHelper | getUrlPathHelper()Deprecated. 
 as of 5.3, the path is resolved externally and obtained with
  ServletRequestPathUtils.getCachedPathValue(ServletRequest);
 this method always returnsUrlPathHelper.defaultInstance. | 
| void | setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)Set the ContentNegotiationManager to use for the ProducesRequestCondition. | 
| void | setPathMatcher(PathMatcher pathMatcher)Set a custom PathMatcher to use for the PatternsRequestCondition. | 
| void | setPatternParser(PathPatternParser patternParser)Enable use of parsed  PathPatterns as described inAbstractHandlerMapping.setPatternParser(PathPatternParser). | 
| void | setRegisteredSuffixPatternMatch(boolean registeredSuffixPatternMatch)Deprecated. 
 as of 5.2.4. See class-level note in
  RequestMappingHandlerMappingon the deprecation of path
 extension config options. | 
| void | setSuffixPatternMatch(boolean suffixPatternMatch)Deprecated. 
 as of 5.2.4. See deprecation note on
  RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean). | 
| void | setTrailingSlashMatch(boolean trailingSlashMatch)Set whether to apply trailing slash matching in PatternsRequestCondition. | 
| void | setUrlPathHelper(UrlPathHelper urlPathHelper)Deprecated. 
 as of 5.3, the path is resolved externally and obtained with
  ServletRequestPathUtils.getCachedPathValue(ServletRequest) | 
| boolean | useRegisteredSuffixPatternMatch()Deprecated. 
 as of 5.2.4. See class-level note in
  RequestMappingHandlerMappingon the deprecation of path
 extension config options. | 
| boolean | useSuffixPatternMatch()Deprecated. 
 as of 5.2.4. See deprecation note on
  RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean). | 
| boolean | useTrailingSlashMatch()Return whether to apply trailing slash matching in PatternsRequestCondition. | 
public void setPatternParser(@Nullable PathPatternParser patternParser)
PathPatterns as described in
 AbstractHandlerMapping.setPatternParser(PathPatternParser).
 Note: This property is mutually exclusive with
 setPathMatcher(PathMatcher).
 
By default this is not enabled.
@Nullable public PathPatternParser getPatternParser()
@Deprecated public void setUrlPathHelper(@Nullable UrlPathHelper urlPathHelper)
ServletRequestPathUtils.getCachedPathValue(ServletRequest)By default this is not set.
@Nullable @Deprecated public UrlPathHelper getUrlPathHelper()
ServletRequestPathUtils.getCachedPathValue(ServletRequest);
 this method always returns UrlPathHelper.defaultInstance.public void setPathMatcher(@Nullable PathMatcher pathMatcher)
By default this is not set.
@Nullable public PathMatcher getPathMatcher()
public void setTrailingSlashMatch(boolean trailingSlashMatch)
By default this is set to 'true'.
public boolean useTrailingSlashMatch()
@Deprecated public void setSuffixPatternMatch(boolean suffixPatternMatch)
RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean).By default this is set to 'false'.
setRegisteredSuffixPatternMatch(boolean)@Deprecated public boolean useSuffixPatternMatch()
RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean).@Deprecated public void setRegisteredSuffixPatternMatch(boolean registeredSuffixPatternMatch)
RequestMappingHandlerMapping on the deprecation of path
 extension config options.suffixPatternMatch=true and requires that a
 setContentNegotiationManager(org.springframework.web.accept.ContentNegotiationManager) is also configured in order to
 obtain the registered file extensions.@Deprecated public boolean useRegisteredSuffixPatternMatch()
RequestMappingHandlerMapping on the deprecation of path
 extension config options.@Nullable @Deprecated public List<String> getFileExtensions()
RequestMappingHandlerMapping on the deprecation of path
 extension config options.registeredSuffixPatternMatch=true, the extensions are obtained
 from the configured contentNegotiationManager.public void setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
By default this is not set.
@Nullable public ContentNegotiationManager getContentNegotiationManager()