use of org.springframework.security.rsocket.core.DefaultPayloadExchange in project spring-security by spring-projects.
the class RoutePayloadExchangeMatcherTests method setup.
@BeforeEach
public void setup() {
this.pattern = "a.b";
this.matcher = new RoutePayloadExchangeMatcher(this.metadataExtractor, this.routeMatcher, this.pattern);
this.exchange = new DefaultPayloadExchange(PayloadExchangeType.REQUEST_CHANNEL, this.payload, COMPOSITE_METADATA, MediaType.APPLICATION_JSON);
}
Aggregations