@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.HypermediaType s. |
WebClient |
registerHypermediaTypes(WebClient webClient)
Register the proper
ExchangeStrategies for a given WebClient . |
public ExchangeStrategies hypermediaExchangeStrategies()
ExchangeStrategies
driven by registered EnableHypermediaSupport.HypermediaType
s.Encoder
s 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.