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.

How to change HAL links format using Spring HATEOAS

I'm building a Spring REST application using Spring HATEOAS (0.16.0.RELEASE) and I'd like the JSON links output to look like: _…

spring rest spring-mvc spring-hateoas hal
Custom response for root request int the Spring REST HATEOAS with both RepositoryRestResource-s and regular controllers

Let's say I have two repositories: @RepositoryRestResource(collectionResourceRel = "person", path = "person") public interface PersonRepository extends PagingAndSortingRepository<Person, Long> { …

spring rest spring-boot hateoas spring-hateoas
How to disable RepositoryRestHandlerMapping and EndpointHandlerMapping?

I am currently building an application with a REST interface, using Spring Boot, Hibernate and Spring-HATEOAS. My data model is …

spring spring-mvc spring-boot spring-data-jpa spring-hateoas
How to configure MappingJackson2HttpMessageConverter registered by spring-hateoas

I like to use spring-hateoas in my project and configured it with @EnableHypermediaSupport. The problem now is, that this magic …

java json spring spring-mvc spring-hateoas
How to enable HAL rendering without using @EnableHypermediaSupport with spring hateoas?

With @EnableHypermediaSupport(type = HypermediaType.HAL) Spring hateoas provides a simple and convenient way to enable HAL rendering. The annotations triggers …

java spring spring-mvc hateoas spring-hateoas
Using a Spring Data Rest @Projection as a representation for a resource in a custom controller

Is there any way to use a @Projection interface as the default representation for a resource in SDR? Either through …

java spring spring-boot spring-data-rest spring-hateoas
Resource and ControllerLinkBuilder not found and deprecated

I am using Spring Boot 2.2.0.M1 with HATEOAS and Gradle. implementation 'org.springframework.boot:spring-boot-starter-hateoas' Right now, Resource is not …

spring-boot spring-hateoas
How to configure Spring HATEOAS behind proxy?

I have Spring Data Rest with Hateoas as my backed. It is behind a proxy. Backend url: backend.com Proxy …

spring rest spring-data-rest hateoas spring-hateoas
How to put and post links with Spring HATEOAS

I'm trying to understand how to create and modify links in Spring HATEOAS. For example, say I have two collections, …

java spring rest hateoas spring-hateoas