Class HttpSupplierConfiguration
java.lang.Object
org.springframework.cloud.fn.supplier.http.HttpSupplierConfiguration
@EnableConfigurationProperties(HttpSupplierProperties.class)
@Configuration
public class HttpSupplierConfiguration
extends Object
Configuration for the HTTP Supplier.
- Author:
- Artem Bilan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.mapping.HeaderMapper<HttpHeaders>
httpHeaderMapper
(HttpSupplierProperties httpSupplierProperties) httpSupplier
(org.reactivestreams.Publisher<Message<byte[]>> httpRequestPublisher, org.springframework.integration.webflux.inbound.WebFluxInboundEndpoint webFluxInboundEndpoint) org.reactivestreams.Publisher<Message<byte[]>>
httpSupplierFlow
(HttpSupplierProperties httpSupplierProperties, org.springframework.integration.mapping.HeaderMapper<HttpHeaders> httpHeaderMapper, ServerCodecConfigurer serverCodecConfigurer)
-
Constructor Details
-
HttpSupplierConfiguration
public HttpSupplierConfiguration()
-
-
Method Details
-
httpHeaderMapper
@Bean @ConditionalOnMissingBean public org.springframework.integration.mapping.HeaderMapper<HttpHeaders> httpHeaderMapper(HttpSupplierProperties httpSupplierProperties) -
httpSupplierFlow
@Bean public org.reactivestreams.Publisher<Message<byte[]>> httpSupplierFlow(HttpSupplierProperties httpSupplierProperties, org.springframework.integration.mapping.HeaderMapper<HttpHeaders> httpHeaderMapper, ServerCodecConfigurer serverCodecConfigurer) -
httpSupplier
-