Class HttpRequestFunctionConfiguration
java.lang.Object
org.springframework.cloud.fn.http.request.HttpRequestFunctionConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(HttpRequestFunctionProperties.class)
public class HttpRequestFunctionConfiguration
extends Object
Configuration for a
Function
that makes HTTP requests to a resource and for
each request, returns a ResponseEntity
.- Author:
- David Turanski, Sunny Hemdev, Corneil du Plessis
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Function that accepts aFlux<Message<?>>
containing body and headers and returns aFlux<ResponseEntity<?>>
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhttpRequestFunction
(WebClient.Builder webClientBuilder, HttpRequestFunctionProperties properties)
-
Constructor Details
-
HttpRequestFunctionConfiguration
public HttpRequestFunctionConfiguration()
-
-
Method Details
-
httpRequestFunction
@Bean public HttpRequestFunctionConfiguration.HttpRequestFunction httpRequestFunction(WebClient.Builder webClientBuilder, HttpRequestFunctionProperties properties) -
httpMethodConverter
-