Package org.dspace.app.rest.link
Class AuthnHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<AuthnResource,AuthenticationRestController>
org.dspace.app.rest.link.AuthnHalLinkFactory
@Component
public class AuthnHalLinkFactory
extends HalLinkFactory<AuthnResource,AuthenticationRestController>
This class' purpose is to provide a means to add links to
AuthnResources- Author:
- Tom Desair (tom dot desair at atmire dot com), Frederic Van Reet (frederic dot vanreet at atmire dot com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(AuthnResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<AuthenticationRestController>protected Class<AuthnResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
AuthnHalLinkFactory
public AuthnHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(AuthnResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<AuthnResource,AuthenticationRestController> - Throws:
Exception
-
getControllerClass
- Specified by:
getControllerClassin classHalLinkFactory<AuthnResource,AuthenticationRestController>
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<AuthnResource,AuthenticationRestController>
-