Class PayloadExchangeMatcher.MatchResult
java.lang.Object
org.springframework.security.rsocket.util.matcher.PayloadExchangeMatcher.MatchResult
- Enclosing interface:
- PayloadExchangeMatcher
The result of matching.
-
Method Summary
Modifier and TypeMethodDescriptionGets potential variables and their values.booleanisMatch()static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult>match()Creates an instance ofPayloadExchangeMatcher.MatchResultthat is a match with no variables.static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult>Creates an instance ofPayloadExchangeMatcher.MatchResultthat is a match with the specified variables.static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult>notMatch()Creates an instance ofPayloadExchangeMatcher.MatchResultthat is not a match.
-
Method Details
-
isMatch
public boolean isMatch() -
getVariables
Gets potential variables and their values.- Returns:
-
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:
-