This example constructs a virtual (user) resource resource. Navigate to this resource from the home via the ‘me’ link relation.
Goal
- Ensure resource cachability through using virtual resources (in this case root must be publicly cachable)
- Return a user redirect resource
Anatomy of code
Below, you see on overview of the code, then you see the implementation.
The code
RepresentationFactory
UriFactory
Controller
Factories