Top "Spring-hateoas" questions

Spring HATEOAS provides some APIs to ease creating REST representations that follow the HATEOAS principle when working with Spring and especially Spring MVC.

Meaning and usage of "_embedded" in HATEOAS

I'm using Spring Data REST, which supports HATEOAS. I'm new to this paradigm. In GET responses from my RESTful web …

json spring rest hateoas spring-hateoas
Deserialize JSON containing (_links and _embedded) using spring-hateoas

I am trying to invoque very simple json webservices that return data of this form: { "_embedded": { "users": [{ "identifier": "1", "firstName": "John", "…

java json spring jackson spring-hateoas
How to add query string parameters with Spring HATEOAS?

I'm trying to generate a link to search resources. So, I want to create a resource that provides a link …

java spring spring-hateoas
Spring DTO-DAO (Resource - entity) mapping goes in which application layer: Controller or Service?

I'm writing a Spring (4.1.7) web application that exposes a RESTful service and wish to use DTO "resource" objects for communication …

java spring spring-mvc architecture spring-hateoas
How to mix Spring Data Repositories and Spring Rest Controllers

Currently I am exposing a few Spring Data Repositories as RESTful services by annotating them with @RepositoryRestResource like this: @RepositoryRestResource(…

java spring spring-data spring-data-rest spring-hateoas
Spring Data REST custom query integration

I want to create a REST link for an Employee entity that will basically be a findByAllFields query. Of course …

spring rest spring-data-rest spring-hateoas
Customizing HATEOAS link generation for entities with composite ids

I have configured a RepositoryRestResource on a PageAndSortingRepository that accesses an Entity that includes a composite Id: @Entity @IdClass(CustomerId.…

spring spring-mvc spring-data-jpa spring-hateoas
Swagger and RESTful spring hateoas resources

In my RESTful API, all resources are extending the Spring's ResourceSupport base, in order to ensure hateoas principals by design. …

rest swagger swagger-ui spring-hateoas
Spring Data Rest Without HATEOAS

I really like all the boilerplate code Spring Data Rest writes for you, but I'd rather have just a 'regular?…

spring-data-rest spring-hateoas
Returned json unexpected, has "links" spelled as "_links" and structure different, in Spring hateoas

As the title says, I have a resource object Product extending ResourceSupport. However, the responses I receive have the property "_…

java spring spring-boot hateoas spring-hateoas