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.ObjectThe 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 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>match(java.util.Map<java.lang.String,? extends java.lang.Object> variables)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 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.MatchResultthat 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.MatchResultthat is a match with the specified variables- Parameters:
variables-- Returns:
-
notMatch
public static reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> notMatch()
Creates an instance ofPayloadExchangeMatcher.MatchResultthat is not a match.- Returns:
-
-