Class PayloadExchangeMatcher.MatchResult
- java.lang.Object
-
- org.springframework.security.rsocket.util.matcher.PayloadExchangeMatcher.MatchResult
-
- Enclosing interface:
- PayloadExchangeMatcher
public static class PayloadExchangeMatcher.MatchResult extends java.lang.Object
The result of matching
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getVariables()
Gets 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>
match(java.util.Map<java.lang.String,? extends java.lang.Object> variables)
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 Detail
-
isMatch
public boolean isMatch()
-
getVariables
public java.util.Map<java.lang.String,java.lang.Object> getVariables()
Gets potential variables and their values- Returns:
-
match
public static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> match()
Creates an instance ofPayloadExchangeMatcher.MatchResult
that is a match with no variables- Returns:
-
match
public static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> match(java.util.Map<java.lang.String,? extends java.lang.Object> variables)
Creates an instance ofPayloadExchangeMatcher.MatchResult
that is a match with the specified variables- Parameters:
variables
-- Returns:
-
notMatch
public static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> notMatch()
Creates an instance ofPayloadExchangeMatcher.MatchResult
that is not a match.- Returns:
-
-