Class PayloadExchangeMatcher.MatchResult
java.lang.Object
org.springframework.security.rsocket.util.matcher.PayloadExchangeMatcher.MatchResult
- Enclosing interface:
PayloadExchangeMatcher
The result of matching
- Since:
- 5.2
-
Method Summary
Modifier and TypeMethodDescriptionGets potential variables and their valuesbooleanisMatch()static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> match()Creates an instance ofPayloadExchangeMatcher.MatchResultthat is a match with no variablesstatic reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> Creates an instance ofPayloadExchangeMatcher.MatchResultthat is a match with the specified variablesstatic reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> notMatch()Creates an instance ofPayloadExchangeMatcher.MatchResultthat is not a match.
-
Method Details
-
isMatch
public boolean isMatch() -
getVariables
-
match
Creates an instance ofPayloadExchangeMatcher.MatchResultthat is a match with no variables- Returns:
-
match
public static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> match(Map<String, ? extends Object> variables) Creates an instance ofPayloadExchangeMatcher.MatchResultthat is a match with the specified variables- Parameters:
variables-- Returns:
-
notMatch
Creates an instance ofPayloadExchangeMatcher.MatchResultthat is not a match.- Returns:
-