title: Spring-hateoas client not compatible with spring-boot-data-rest?
body: <p>To try to understand the spring ecosystem, I'm building some toy projects on varios parts.</p>
  
  <p>I've got a spring-boot-data-rest service working as expected (<a href="https://github.com/afaulconbridge/myspringbootexamples/tree/cc2eadd6b1504cbf86428922afcbbbde20b5a05b/17datah2rest" rel="nofollow">code here</a>) and I am building a spring-boot and spring-hateoas client to access it (<a href="https://github.com/afaulconbridge/myspringbootexamples/tree/cc2eadd6b1504cbf86428922afcbbbde20b5a05b/18datah2restclient" rel="nofollow">code here</a>)</p>
  
  <p>BUT for some reason I don't understand the client doesn't see the links that the server has. </p>
  
  <p>This is what the JSON the service serves looks like:</p>
  
  <pre><code>{
      "firstName": "Alice",
      "lastName": "Foo",
      "_links": {
          "self": {
              "href": "http://localhost:8080/people/1"
          },
          "person": {
              "href": "http://localhost:8080/people/1"
          }
      }
  }
  </code></pre>
  
  <p>This is the code the client is using to query the service:</p>
  
  <pre><code>    //now use a GET to get it back
      ResponseEntity&lt;Resource&lt;Person&gt;&gt; getResult = rest.exchange(
              "http://localhost:8080/people/1", HttpMethod.GET, null,
              new ParameterizedTypeReference&lt;Resource&lt;Person&gt;&gt;() {
              });
  
      //check the links on the response
      log.info("getResult "+getResult);
      log.info("getResult.getBody"+getResult.getBody());
      //uh oh, no links...
      log.info("getResult.getLink(\"self\")"+getResult.getBody().getLink("self"));
      log.info("getResult.getLink(\"self\").getHref()"+getResult.getBody().getLink("self").getHref());
  </code></pre>
  
  <p>And I am using Spring boot 1.4.0.BUILD-SNAPSHOT version for both.</p>
  
  <p>Is this a problem with my code or is this a bug somewhere? Any ideas how to fix it?</p>