public final class RSockets
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static RSocketInboundGatewaySpec |
inboundGateway(java.lang.String... path)
Create an
RSocketInboundGatewaySpec builder for request-reply reactive gateway
based on the provided path array for mapping. |
static RSocketOutboundGatewaySpec |
outboundGateway(org.springframework.expression.Expression routeExpression)
Create an
RSocketOutboundGatewaySpec builder for request-reply gateway
based on provided SpEL Expression to evaluate target route against request message. |
static <P> RSocketOutboundGatewaySpec |
outboundGateway(java.util.function.Function<org.springframework.messaging.Message<P>,?> routeFunction)
Create an
RSocketOutboundGatewaySpec builder for request-reply gateway
based on provided Function to evaluate target route against request message. |
static RSocketOutboundGatewaySpec |
outboundGateway(java.lang.String route,
java.lang.Object... routeVariables)
Create an
RSocketOutboundGatewaySpec builder for request-reply gateway
based on provided route and optional variables to expand route template. |
public static RSocketOutboundGatewaySpec outboundGateway(java.lang.String route, java.lang.Object... routeVariables)
RSocketOutboundGatewaySpec builder for request-reply gateway
based on provided route and optional variables to expand route template.route - the route to send requests.routeVariables - the variables to expand route template.public static <P> RSocketOutboundGatewaySpec outboundGateway(java.util.function.Function<org.springframework.messaging.Message<P>,?> routeFunction)
RSocketOutboundGatewaySpec builder for request-reply gateway
based on provided Function to evaluate target route against request message.P - the expected payload type.routeFunction - the Function to evaluate route at runtime.public static RSocketOutboundGatewaySpec outboundGateway(org.springframework.expression.Expression routeExpression)
RSocketOutboundGatewaySpec builder for request-reply gateway
based on provided SpEL Expression to evaluate target route against request message.routeExpression - the SpEL Expression to evaluate route at runtime.public static RSocketInboundGatewaySpec inboundGateway(java.lang.String... path)
RSocketInboundGatewaySpec builder for request-reply reactive gateway
based on the provided path array for mapping.path - the path mapping URIs (e.g. "/myPath.do").