title: Spring MVC + DeferredResult add Hateoas stuff
body: <p>For the rest interface the <em>Spring MVC</em> + <em>RxJava</em> + <em>DeferredResult</em> returned from controllers is used. </p>
  
  <p>I am thinking about adding <em>Hateoas</em> support to the endpoints. The natural choice would be the <em>Spring Hateoas</em>. The problem is that <em>Spring Hateoas</em> would not work in the asynchronous/multi-threading environment since it uses <em>ThreadLocal</em>.</p>
  
  <p>Is there any way to workaround that constraint? I do not think so but maybe someone has any suggestions. </p>
  
  <p>Has anyone used other APIs to add <em>Hateoas</em> support to the rest endpoints?</p>
  
  <p>Thank you.</p>