Package org.dspace.app.rest.link
Class RootHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<RootResource,RootRestResourceController>
org.dspace.app.rest.link.RootHalLinkFactory
@Component
public class RootHalLinkFactory
extends HalLinkFactory<RootResource,RootRestResourceController>
This class' purpose is to add the links to the root REST endpoint to the next endpoints.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(RootResource halResource, org.springframework.data.domain.Pageable page, LinkedList<org.springframework.hateoas.Link> list) protected Class<RootRestResourceController>protected Class<RootResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
RootHalLinkFactory
public RootHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(RootResource halResource, org.springframework.data.domain.Pageable page, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<RootResource,RootRestResourceController> - Throws:
Exception
-
getControllerClass
- Specified by:
getControllerClassin classHalLinkFactory<RootResource,RootRestResourceController>
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<RootResource,RootRestResourceController>
-