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 valuesboolean
isMatch()
static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult>
match()
Creates an instance ofPayloadExchangeMatcher.MatchResult
that is a match with no variablesstatic reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult>
Creates an instance ofPayloadExchangeMatcher.MatchResult
that is a match with the specified variablesstatic reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult>
notMatch()
Creates an instance ofPayloadExchangeMatcher.MatchResult
that is not a match.
-
Method Details
-
isMatch
public boolean isMatch() -
getVariables
Gets potential variables and their values- Returns:
-
match
Creates an instance ofPayloadExchangeMatcher.MatchResult
that 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.MatchResult
that is a match with the specified variables- Parameters:
variables
-- Returns:
-
notMatch
Creates an instance ofPayloadExchangeMatcher.MatchResult
that is not a match.- Returns:
-