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 toAuthnResources- Author:
- Tom Desair (tom dot desair at atmire dot com), Frederic Van Reet (frederic dot vanreet at atmire dot com)
-
-
Constructor Summary
Constructors Constructor Description AuthnHalLinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinks(AuthnResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list)protected Class<AuthenticationRestController>getControllerClass()protected Class<AuthnResource>getResourceClass()-
Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
-
-
-
Method Detail
-
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
protected Class<AuthenticationRestController> getControllerClass()
- Specified by:
getControllerClassin classHalLinkFactory<AuthnResource,AuthenticationRestController>
-
getResourceClass
protected Class<AuthnResource> getResourceClass()
- Specified by:
getResourceClassin classHalLinkFactory<AuthnResource,AuthenticationRestController>
-
-