public final class WebFlux extends Object
| Modifier and Type | Method and Description |
|---|---|
static WebFluxInboundEndpointSpec |
inboundChannelAdapter(String... path)
Create an
WebFluxInboundEndpointSpec builder for one-way reactive adapter
based on the provided path array for mapping. |
static WebFluxInboundEndpointSpec |
inboundGateway(String... path)
Create an
WebFluxInboundEndpointSpec builder for request-reply reactive gateway
based on the provided path array for mapping. |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(Expression uriExpression)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided SpEL Expression to evaluate target uri
against request message. |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(Expression uriExpression,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided SpEL Expression to evaluate target uri
against request message and WebClient for HTTP exchanges. |
static <P> WebFluxMessageHandlerSpec |
outboundChannelAdapter(java.util.function.Function<Message<P>,?> uriFunction)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter based on provided Function
to evaluate target uri against request message. |
static <P> WebFluxMessageHandlerSpec |
outboundChannelAdapter(java.util.function.Function<Message<P>,?> uriFunction,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided Function to evaluate target uri against request message
and WebClient for HTTP exchanges. |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(String uri)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter based on provided uri. |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(String uri,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided uri and WebClient. |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(URI uri)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter based on provided URI. |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(URI uri,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided URI and WebClient. |
static WebFluxMessageHandlerSpec |
outboundGateway(Expression uriExpression)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided SpEL Expression to evaluate target uri against request message. |
static WebFluxMessageHandlerSpec |
outboundGateway(Expression uriExpression,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided SpEL Expression to evaluate target uri
against request message and WebClient for HTTP exchanges. |
static <P> WebFluxMessageHandlerSpec |
outboundGateway(java.util.function.Function<Message<P>,?> uriFunction)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided Function to evaluate target uri against request message. |
static <P> WebFluxMessageHandlerSpec |
outboundGateway(java.util.function.Function<Message<P>,?> uriFunction,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided Function to evaluate target uri against request message
and WebClient for HTTP exchanges. |
static WebFluxMessageHandlerSpec |
outboundGateway(String uri)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided uri. |
static WebFluxMessageHandlerSpec |
outboundGateway(String uri,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided uri and WebClient. |
static WebFluxMessageHandlerSpec |
outboundGateway(URI uri)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided URI. |
static WebFluxMessageHandlerSpec |
outboundGateway(URI uri,
WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided URI and WebClient. |
public static WebFluxMessageHandlerSpec outboundChannelAdapter(URI uri)
WebFluxMessageHandlerSpec builder for one-way adapter based on provided URI.uri - the URI to send requests.public static WebFluxMessageHandlerSpec outboundChannelAdapter(String uri)
WebFluxMessageHandlerSpec builder for one-way adapter based on provided uri.uri - the uri to send requests.public static <P> WebFluxMessageHandlerSpec outboundChannelAdapter(java.util.function.Function<Message<P>,?> uriFunction)
WebFluxMessageHandlerSpec builder for one-way adapter based on provided Function
to evaluate target uri against request message.P - the expected payload type.uriFunction - the Function to evaluate uri at runtime.public static WebFluxMessageHandlerSpec outboundChannelAdapter(Expression uriExpression)
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided SpEL Expression to evaluate target uri
against request message.uriExpression - the SpEL Expression to evaluate uri at runtime.public static WebFluxMessageHandlerSpec outboundChannelAdapter(URI uri, WebClient webClient)
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided URI and WebClient.public static WebFluxMessageHandlerSpec outboundChannelAdapter(String uri, WebClient webClient)
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided uri and WebClient.uri - the uri to send requests.webClient - WebClient to use.public static <P> WebFluxMessageHandlerSpec outboundChannelAdapter(java.util.function.Function<Message<P>,?> uriFunction, WebClient webClient)
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided Function to evaluate target uri against request message
and WebClient for HTTP exchanges.P - the expected payload type.uriFunction - the Function to evaluate uri at runtime.webClient - WebClient to use.public static WebFluxMessageHandlerSpec outboundChannelAdapter(Expression uriExpression, WebClient webClient)
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided SpEL Expression to evaluate target uri
against request message and WebClient for HTTP exchanges.uriExpression - the SpEL Expression to evaluate uri at runtime.webClient - WebClient to use.public static WebFluxMessageHandlerSpec outboundGateway(URI uri)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided URI.uri - the URI to send requests.public static WebFluxMessageHandlerSpec outboundGateway(String uri)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided uri.uri - the uri to send requests.public static <P> WebFluxMessageHandlerSpec outboundGateway(java.util.function.Function<Message<P>,?> uriFunction)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided Function to evaluate target uri against request message.P - the expected payload type.uriFunction - the Function to evaluate uri at runtime.public static WebFluxMessageHandlerSpec outboundGateway(Expression uriExpression)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided SpEL Expression to evaluate target uri against request message.uriExpression - the SpEL Expression to evaluate uri at runtime.public static WebFluxMessageHandlerSpec outboundGateway(URI uri, WebClient webClient)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided URI and WebClient.public static WebFluxMessageHandlerSpec outboundGateway(String uri, WebClient webClient)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided uri and WebClient.uri - the uri to send requests.webClient - WebClient to use.public static <P> WebFluxMessageHandlerSpec outboundGateway(java.util.function.Function<Message<P>,?> uriFunction, WebClient webClient)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided Function to evaluate target uri against request message
and WebClient for HTTP exchanges.P - the expected payload type.uriFunction - the Function to evaluate uri at runtime.webClient - WebClient to use.public static WebFluxMessageHandlerSpec outboundGateway(Expression uriExpression, WebClient webClient)
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided SpEL Expression to evaluate target uri
against request message and WebClient for HTTP exchanges.uriExpression - the SpEL Expression to evaluate uri at runtime.webClient - WebClient to use.public static WebFluxInboundEndpointSpec inboundChannelAdapter(String... path)
WebFluxInboundEndpointSpec builder for one-way reactive adapter
based on the provided path array for mapping.path - the path mapping URIs (e.g. "/myPath.do").public static WebFluxInboundEndpointSpec inboundGateway(String... path)
WebFluxInboundEndpointSpec builder for request-reply reactive gateway
based on the provided path array for mapping.path - the path mapping URIs (e.g. "/myPath.do").