Phillip Webb
f12ab1ff90
Update copyright header of changed files
7 years ago
Andy Wilkinson
0e009ef047
Use HTTPS to link to the Apache license
7 years ago
Andy Wilkinson
cd13a1685c
Align HATEAOS sample with latest breaking API changes
...
See gh-15939
7 years ago
Phillip Webb
d8f827d224
Cleanup and format code
9 years ago
Andy Wilkinson
3348ed5bb3
Make use of new GetMapping and PostMapping annotations
...
Closes gh-5277
10 years ago
Andy Wilkinson
355860fd09
Remove @Autowired from constructors where class has single constructor
...
Closes gh-5226
10 years ago
Phillip Webb
95c4cdbedc
Fix packages and annotations used in sample
...
Update a few of the samples to correct the packages used in tests and
to make use of the `@SpringBootApplication` annotation.
10 years ago
Andy Wilkinson
1f92360583
Ensure that HATEOAS sample does not try to produce XML
...
The HATEOAS sample does not support XML responses. Previously, the
controller doesn't constrain the media types that it could produce.
This would result in a failure when handling a request that prefers
XML responses.
This commit updates the produces clauses in the controller so that
the sample will only attempt to produce JSON.
Closes gh-4343
10 years ago
Phillip Webb
634bb770b2
Organize imports with new settings
...
See gh-4234
10 years ago
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
10 years ago
Phillip Webb
6ab376e2e8
Reformat code use Eclipse Mars
10 years ago
Phillip Webb
61fc4f3f12
Polish copyright headers
11 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
11 years ago
Phillip Webb
7d017a2a6b
Add HATEOAS sample application
11 years ago