Class HypermediaWebClientConfigurer
java.lang.Object
org.springframework.hateoas.config.HypermediaWebClientConfigurer
Assembles
Jackson2JsonEncoder
s and AbstractJacksonDecoder
s needed to wire a WebClient
with
hypermedia support.- Since:
- 1.1
- Author:
- Greg Turnquist, Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.reactive.function.client.WebClient.Builder
registerHypermediaTypes
(org.springframework.web.reactive.function.client.WebClient.Builder builder) Apply the properJackson2JsonEncoder
s andAbstractJacksonDecoder
s to thisWebClient.Builder
.
-
Method Details
-
registerHypermediaTypes
public org.springframework.web.reactive.function.client.WebClient.Builder registerHypermediaTypes(org.springframework.web.reactive.function.client.WebClient.Builder builder) Apply the properJackson2JsonEncoder
s andAbstractJacksonDecoder
s to thisWebClient.Builder
.- Parameters:
builder
-- Returns:
WebClient.Builder
registered to handle hypermedia types.
-