Class AbstractServerWebExchangeMatcherRegistry<T>
java.lang.Object
org.springframework.security.config.web.server.AbstractServerWebExchangeMatcherRegistry<T>
- Direct Known Subclasses:
- ServerHttpSecurity.AuthorizeExchangeSpec
- Since:
- 5.0
- 
Method SummaryModifier and TypeMethodDescriptionMaps any request.protected org.springframework.web.util.pattern.PathPatternParsermatchers(ServerWebExchangeMatcher... matchers) Associates a list ofServerWebExchangeMatcherinstancespathMatchers(String... antPatterns) Maps aListofPathPatternParserServerWebExchangeMatcherinstances that do not care whichHttpMethodis used.pathMatchers(org.springframework.http.HttpMethod method) Maps aListofPathPatternParserServerWebExchangeMatcherinstances.pathMatchers(org.springframework.http.HttpMethod method, String... antPatterns) Maps aListofPathPatternParserServerWebExchangeMatcherinstances.protected abstract TregisterMatcher(ServerWebExchangeMatcher matcher) Subclasses should implement this method for returning the object that is chained to the creation of theServerWebExchangeMatcherinstances.
- 
Method Details- 
anyExchangeMaps any request.- Returns:
- the object that is chained after creating the
 ServerWebExchangeMatcher
 
- 
pathMatchersMaps aListofPathPatternParserServerWebExchangeMatcherinstances.- Parameters:
- method- the- HttpMethodto use for any- HttpMethod.
- Returns:
- the object that is chained after creating the
 ServerWebExchangeMatcher
 
- 
pathMatchersMaps aListofPathPatternParserServerWebExchangeMatcherinstances.- Parameters:
- method- the- HttpMethodto use or- nullfor any- HttpMethod.
- antPatterns- the ant patterns to create. If- nullor empty, then matches on nothing.- PathPatternParserServerWebExchangeMatcherfrom
- Returns:
- the object that is chained after creating the
 ServerWebExchangeMatcher
 
- 
pathMatchersMaps aListofPathPatternParserServerWebExchangeMatcherinstances that do not care whichHttpMethodis used.- Parameters:
- antPatterns- the ant patterns to create- PathPatternParserServerWebExchangeMatcherfrom
- Returns:
- the object that is chained after creating the
 ServerWebExchangeMatcher
 
- 
matchersAssociates a list ofServerWebExchangeMatcherinstances- Parameters:
- matchers- the- ServerWebExchangeMatcherinstances
- Returns:
- the object that is chained after creating the
 ServerWebExchangeMatcher
 
- 
registerMatcherSubclasses should implement this method for returning the object that is chained to the creation of theServerWebExchangeMatcherinstances.- Parameters:
- matcher- the- ServerWebExchangeMatcherinstances that were created
- Returns:
- the chained Object for the subclass which allows association of something
 else to the ServerWebExchangeMatcher
 
- 
getPathPatternParserprotected org.springframework.web.util.pattern.PathPatternParser getPathPatternParser()
 
-