Class HypermediaWebClientConfigurer

java.lang.Object
org.springframework.hateoas.config.HypermediaWebClientConfigurer

public class HypermediaWebClientConfigurer extends Object
Assembles Jackson2JsonEncoders and AbstractJacksonDecoders needed to wire a WebClient with hypermedia support.
Since:
1.1
Author:
Greg Turnquist, Oliver Drotbohm
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.reactive.function.client.WebClient.Builder
    registerHypermediaTypes(org.springframework.web.reactive.function.client.WebClient.Builder builder)
    Apply the proper Jackson2JsonEncoders and AbstractJacksonDecoders to this WebClient.Builder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • registerHypermediaTypes

      public org.springframework.web.reactive.function.client.WebClient.Builder registerHypermediaTypes(org.springframework.web.reactive.function.client.WebClient.Builder builder)
      Apply the proper Jackson2JsonEncoders and AbstractJacksonDecoders to this WebClient.Builder.
      Parameters:
      builder -
      Returns:
      WebClient.Builder registered to handle hypermedia types.