Class HypermediaWebClientConfigurer

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

public class HypermediaWebClientConfigurer extends Object
Assembles Jackson2JsonEncoders and Jackson2JsonDecoders needed to wire a WebClient with hypermedia support.
Since:
1.1
Author:
Greg Turnquist, Oliver Drotbohm
  • 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 Jackson2JsonDecoders to this WebClient.Builder.
      Parameters:
      builder -
      Returns:
      WebClient.Builder registered to handle hypermedia types.