{"id":2554,"date":"2016-01-04T22:06:23","date_gmt":"2016-01-04T20:06:23","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=2554"},"modified":"2017-05-10T22:07:54","modified_gmt":"2017-05-10T20:07:54","slug":"spring-hateoas","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/spring-hateoas\/","title":{"rendered":"Spring HATEOAS"},"content":{"rendered":"<pre>\r\nHATEOAS means Hypermedia As The Engine Of Application State\r\n\r\nResourceSupport - support class for building DTOs with links\r\n\r\nControllerLinkBuilder - allows to create links by pointing to controller classes (Spring MVC controllers or JAX-RS resource classes)\r\nWith ControllerLinkBuilder you depend on controller classes in order to create links.\r\n\r\n@EnableEntityLinks - inspects Spring MVC controllers and JAX-RS resource for @ExposesResourceFor(model class) and allows injecting of EntityLinks\r\nWith EnableEntityLinks you depend on model\/business classes in order to create links; I think it's better instead of ControllerLinkBuilder.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>HATEOAS means Hypermedia As The Engine Of Application State ResourceSupport &#8211; support class for building DTOs with links ControllerLinkBuilder &#8211; allows to create links by pointing to controller classes (Spring MVC controllers or JAX-RS resource classes) With ControllerLinkBuilder you depend [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/spring-hateoas\/#more-2554\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Spring HATEOAS<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,10],"tags":[71,68],"class_list":["post-2554","post","type-post","status-publish","format-standard","hentry","category-java","category-programming","tag-hateoas","tag-spring"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=2554"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2554\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=2554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=2554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=2554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}