Class HypermediaRestTemplateConfigurer

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

public class HypermediaRestTemplateConfigurer extends Object
Assembles hypermedia-based message converters and applies them to an existing RestTemplate.
Since:
1.1
Author:
Greg Turnquist
  • Method Details

    • registerHypermediaTypes

      public RestTemplate registerHypermediaTypes(RestTemplate template)
      Insert hypermedia-aware message converters in front of any other existing message converters.
      Parameters:
      template -
      Returns:
      RestTemplate capable of speaking hypermedia.