Package io.spring.initializr.web.mapper
Class LinkMapper
java.lang.Object
io.spring.initializr.web.mapper.LinkMapper
Generate a json representation for
Link
.- Author:
- Stephane Nicoll
-
Method Summary
-
Method Details
-
mapLinks
Map the specified links to a json model. If several links share the same relation, they are grouped together.- Parameters:
links
- the links to map- Returns:
- a model for the specified links
-