Module spring.data.rest.webmvc
Interface LinkCollector
- All Known Implementing Classes:
DefaultLinkCollector
public interface LinkCollector
A service to collect all standard links that need to be added to a certain object.
- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptiongetLinksFor(Object object) Returns allLinksfor the given object.getLinksFor(Object object, Links existing) getLinksForNested(Object object, Links existing)
-
Method Details
-
getLinksFor
Returns allLinksfor the given object.- Parameters:
object- must not be null.- Returns:
-
getLinksFor
- Parameters:
object- must not be null.existing- must not be null.- Returns:
-
getLinksForNested
-