@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 |
|---|---|
ExchangeStrategies |
hypermediaExchangeStrategies()
Return a set of
ExchangeStrategies driven by registered EnableHypermediaSupport.HypermediaTypes. |
WebClient |
registerHypermediaTypes(WebClient webClient)
Register the proper
ExchangeStrategies for a given WebClient. |
public ExchangeStrategies hypermediaExchangeStrategies()
ExchangeStrategies driven by registered EnableHypermediaSupport.HypermediaTypes.Encoders and Decoder assembled into a ExchangeStrategies.public WebClient registerHypermediaTypes(WebClient webClient)
ExchangeStrategies for a given WebClient.webClient - Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.