Class HypermediaWebClientConfigurer
java.lang.Object
org.springframework.hateoas.config.HypermediaWebClientConfigurer
Assembles
Jackson2JsonEncoders and AbstractJacksonDecoders 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.BuilderregisterHypermediaTypes(org.springframework.web.reactive.function.client.WebClient.Builder builder) Apply the properJackson2JsonEncoders andAbstractJacksonDecoders 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 properJackson2JsonEncoders andAbstractJacksonDecoders to thisWebClient.Builder.- Parameters:
builder-- Returns:
WebClient.Builderregistered to handle hypermedia types.
-