Package org.dspace.app.rest.link
Class HalLinkService
java.lang.Object
org.dspace.app.rest.link.HalLinkService
This service will try to add links to the given HAL resource by iterating over all the configured factories
The links will only be added if the factories are allowed to do so by checking the resource's type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLinks(HALResource halResource) voidaddLinks(HALResource halResource, org.springframework.data.domain.Pageable pageable)
-
Constructor Details
-
HalLinkService
public HalLinkService()
-
-
Method Details
-
addLinks
public void addLinks(HALResource halResource, org.springframework.data.domain.Pageable pageable) throws Exception - Throws:
Exception
-
addLinks
-