@Configuration public class WebClientConfigurer extends Object
ExchangeStrategies
needed to wire a WebClient
with hypermedia support.Constructor and Description |
---|
WebClientConfigurer() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.reactive.function.client.ExchangeStrategies |
hypermediaExchangeStrategies()
Return a set of
ExchangeStrategies driven by registered EnableHypermediaSupport.HypermediaType s. |
org.springframework.web.reactive.function.client.WebClient |
registerHypermediaTypes(org.springframework.web.reactive.function.client.WebClient webClient)
Register the proper
ExchangeStrategies for a given WebClient . |
public org.springframework.web.reactive.function.client.ExchangeStrategies hypermediaExchangeStrategies()
ExchangeStrategies
driven by registered EnableHypermediaSupport.HypermediaType
s.Encoder
s and Decoder
assembled into a ExchangeStrategies
.public org.springframework.web.reactive.function.client.WebClient registerHypermediaTypes(org.springframework.web.reactive.function.client.WebClient webClient)
ExchangeStrategies
for a given WebClient
.webClient
- Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.