public final class WebFlux
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static WebFluxInboundEndpointSpec |
inboundChannelAdapter(java.lang.String... path)
Create an
WebFluxInboundEndpointSpec builder for one-way reactive adapter
based on the provided path array for mapping. |
static WebFluxInboundEndpointSpec |
inboundGateway(java.lang.String... path)
Create an
WebFluxInboundEndpointSpec builder for request-reply reactive gateway
based on the provided path array for mapping. |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(org.springframework.expression.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(org.springframework.expression.Expression uriExpression,
org.springframework.web.reactive.function.client.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<org.springframework.messaging.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<org.springframework.messaging.Message<P>,?> uriFunction,
org.springframework.web.reactive.function.client.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(java.lang.String uri)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter based on provided uri . |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(java.lang.String uri,
org.springframework.web.reactive.function.client.WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided uri and WebClient . |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(java.net.URI uri)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter based on provided URI . |
static WebFluxMessageHandlerSpec |
outboundChannelAdapter(java.net.URI uri,
org.springframework.web.reactive.function.client.WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for one-way adapter
based on provided URI and WebClient . |
static WebFluxMessageHandlerSpec |
outboundGateway(org.springframework.expression.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(org.springframework.expression.Expression uriExpression,
org.springframework.web.reactive.function.client.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<org.springframework.messaging.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<org.springframework.messaging.Message<P>,?> uriFunction,
org.springframework.web.reactive.function.client.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(java.lang.String uri)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided uri . |
static WebFluxMessageHandlerSpec |
outboundGateway(java.lang.String uri,
org.springframework.web.reactive.function.client.WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided uri and WebClient . |
static WebFluxMessageHandlerSpec |
outboundGateway(java.net.URI uri)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided URI . |
static WebFluxMessageHandlerSpec |
outboundGateway(java.net.URI uri,
org.springframework.web.reactive.function.client.WebClient webClient)
Create an
WebFluxMessageHandlerSpec builder for request-reply gateway
based on provided URI and WebClient . |
public static WebFluxMessageHandlerSpec outboundChannelAdapter(java.net.URI uri)
WebFluxMessageHandlerSpec
builder for one-way adapter based on provided URI
.uri
- the URI
to send requests.public static WebFluxMessageHandlerSpec outboundChannelAdapter(java.lang.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<org.springframework.messaging.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(org.springframework.expression.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(java.net.URI uri, org.springframework.web.reactive.function.client.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 WebFluxMessageHandlerSpec outboundChannelAdapter(java.lang.String uri, org.springframework.web.reactive.function.client.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<org.springframework.messaging.Message<P>,?> uriFunction, org.springframework.web.reactive.function.client.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(org.springframework.expression.Expression uriExpression, org.springframework.web.reactive.function.client.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(java.net.URI uri)
WebFluxMessageHandlerSpec
builder for request-reply gateway
based on provided URI
.uri
- the URI
to send requests.public static WebFluxMessageHandlerSpec outboundGateway(java.lang.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<org.springframework.messaging.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(org.springframework.expression.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(java.net.URI uri, org.springframework.web.reactive.function.client.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 WebFluxMessageHandlerSpec outboundGateway(java.lang.String uri, org.springframework.web.reactive.function.client.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<org.springframework.messaging.Message<P>,?> uriFunction, org.springframework.web.reactive.function.client.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(org.springframework.expression.Expression uriExpression, org.springframework.web.reactive.function.client.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(java.lang.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(java.lang.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").