We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a776879 commit d0f6b69Copy full SHA for d0f6b69
SpringBootHateoas/src/main/java/com/example/MessageController.java
@@ -1,8 +1,6 @@
1
package com.example;
2
3
import org.springframework.hateoas.IanaLinkRelations;
4
-import org.springframework.hateoas.Link;
5
-import org.springframework.hateoas.LinkRelation;
6
import org.springframework.http.HttpHeaders;
7
import org.springframework.http.ResponseEntity;
8
import org.springframework.web.bind.annotation.GetMapping;
@@ -12,9 +10,6 @@
12
10
13
11
import java.time.Clock;
14
import java.time.LocalDateTime;
15
-import java.util.Optional;
16
-
17
-import static org.springframework.hateoas.server.mvc.WebMvcLinkBuilder.linkTo;
18
19
@RestController
20
@RequestMapping("/message")
0 commit comments