Class NegatedServerWebExchangeMatcher
- java.lang.Object
-
- org.springframework.security.web.server.util.matcher.NegatedServerWebExchangeMatcher
-
- All Implemented Interfaces:
ServerWebExchangeMatcher
public class NegatedServerWebExchangeMatcher extends java.lang.Object implements ServerWebExchangeMatcher
Negates the provided matcher. If the provided matcher returns true, then the result will be false. If the provided matcher returns false, then the result will be true.- Since:
- 5.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
ServerWebExchangeMatcher.MatchResult
-
-
Constructor Summary
Constructors Constructor Description NegatedServerWebExchangeMatcher(ServerWebExchangeMatcher matcher)
-
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
-
NegatedServerWebExchangeMatcher
public NegatedServerWebExchangeMatcher(ServerWebExchangeMatcher matcher)
-
-
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
-
-