This is my first time working with HATEOAS everyone and I have come to a screeching halt. Here is my problem, I have an app that converts text from a text area to a pdf and a pdf to images. My issue is that I send both back as a ResponseEntity<byte[]>. Here is a sample success response from the text
Tag: hateoas
Migrate builder to Spring hateoas 2.6.7
I have this old code implemented in hateoas:1.0 I updated my code to hateoas 2.6.7 but the code is changed this way: What is the proper way to implement this change? I tried this: But it’s not clear how I have to implement the code that I can send affordances. Can you advice what is the proper way to implement
Return link from Hateos
I have this old Spring Hateos code which I want to migrate to the latest version: I tried this: I get error at this line: Can you advise what is the correct way to implement this? Answer Based on your comments & question for migration this is what I am suggesting: …. //calling addLinlk And inside addLink: Tested with Java
Spring boot HATEOAS integration issue
I have included hateoas dependency in my spring boot project but I am unable to run the project because of few exceptions that are being shown. I have tried cleaning the workspace, mvn clean install and also restarting the application but it’s not working. Is there something I am missing here? pom.xml Exception Answer As you are using 2.2.6.RELEASE try