Class PathPatternParserServerWebExchangeMatcher
- java.lang.Object
-
- org.springframework.security.web.server.util.matcher.PathPatternParserServerWebExchangeMatcher
-
- All Implemented Interfaces:
ServerWebExchangeMatcher
public final class PathPatternParserServerWebExchangeMatcher extends java.lang.Object implements ServerWebExchangeMatcher
Matches if thePathPatternmatches the path within the application.- Since:
- 5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
ServerWebExchangeMatcher.MatchResult
-
-
Constructor Summary
Constructors Constructor Description PathPatternParserServerWebExchangeMatcher(java.lang.String pattern)PathPatternParserServerWebExchangeMatcher(java.lang.String pattern, org.springframework.http.HttpMethod method)PathPatternParserServerWebExchangeMatcher(org.springframework.web.util.pattern.PathPattern pattern)PathPatternParserServerWebExchangeMatcher(org.springframework.web.util.pattern.PathPattern pattern, org.springframework.http.HttpMethod method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult>matches(org.springframework.web.server.ServerWebExchange exchange)Determines if a request matches or notjava.lang.StringtoString()
-
-
-
Constructor Detail
-
PathPatternParserServerWebExchangeMatcher
public PathPatternParserServerWebExchangeMatcher(org.springframework.web.util.pattern.PathPattern pattern)
-
PathPatternParserServerWebExchangeMatcher
public PathPatternParserServerWebExchangeMatcher(org.springframework.web.util.pattern.PathPattern pattern, org.springframework.http.HttpMethod method)
-
PathPatternParserServerWebExchangeMatcher
public PathPatternParserServerWebExchangeMatcher(java.lang.String pattern, org.springframework.http.HttpMethod method)
-
PathPatternParserServerWebExchangeMatcher
public PathPatternParserServerWebExchangeMatcher(java.lang.String pattern)
-
-
Method Detail
-
matches
public reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(org.springframework.web.server.ServerWebExchange exchange)
Description copied from interface:ServerWebExchangeMatcherDetermines if a request matches or not- Specified by:
matchesin interfaceServerWebExchangeMatcher- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-