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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classFunction that accepts aFlux<Message<?>>containing body and headers and returns aFlux<ResponseEntity<?>>. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.convert.converter.Converter<String,org.springframework.http.HttpMethod> httpRequestFunction(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, HttpRequestFunctionProperties properties)
-
Constructor Details
-
HttpRequestFunctionConfiguration
public HttpRequestFunctionConfiguration()
-
-
Method Details
-
httpRequestFunction
@Bean public HttpRequestFunctionConfiguration.HttpRequestFunction httpRequestFunction(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, HttpRequestFunctionProperties properties) -
httpMethodConverter
@Bean @IntegrationConverter public org.springframework.core.convert.converter.Converter<String,org.springframework.http.HttpMethod> httpMethodConverter()
-