Class RoutePayloadExchangeMatcher
- java.lang.Object
-
- org.springframework.security.rsocket.util.matcher.RoutePayloadExchangeMatcher
-
- All Implemented Interfaces:
PayloadExchangeMatcher
public class RoutePayloadExchangeMatcher extends java.lang.Object implements PayloadExchangeMatcher
FIXME: Pay attention to the package this goes into. It requires spring-messaging for the MetadataExtractor.- Since:
- 5.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.security.rsocket.util.matcher.PayloadExchangeMatcher
PayloadExchangeMatcher.MatchResult
-
-
Constructor Summary
Constructors Constructor Description RoutePayloadExchangeMatcher(org.springframework.messaging.rsocket.MetadataExtractor metadataExtractor, org.springframework.util.RouteMatcher routeMatcher, java.lang.String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult>
matches(PayloadExchange exchange)
Determines if a request matches or not
-
-
-
Method Detail
-
matches
public reactor.core.publisher.Mono<PayloadExchangeMatcher.MatchResult> matches(PayloadExchange exchange)
Description copied from interface:PayloadExchangeMatcher
Determines if a request matches or not- Specified by:
matches
in interfacePayloadExchangeMatcher
- Returns:
-
-