Package org.dspace.app.rest.link
Class AuthenticationTokenHalLinkFactory
java.lang.Object
org.dspace.app.rest.link.HalLinkFactory<AuthenticationTokenResource,AuthenticationRestController>
org.dspace.app.rest.link.AuthenticationTokenHalLinkFactory
@Component
public class AuthenticationTokenHalLinkFactory
extends HalLinkFactory<AuthenticationTokenResource,AuthenticationRestController>
This class adds the self link to the AuthenticationTokenResource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinks(AuthenticationTokenResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) protected Class<AuthenticationRestController>protected Class<AuthenticationTokenResource>Methods inherited from class org.dspace.app.rest.link.HalLinkFactory
buildLink, buildLink, getLinksFor, getMethodOn, getMethodOn, supports, uriBuilder
-
Constructor Details
-
AuthenticationTokenHalLinkFactory
public AuthenticationTokenHalLinkFactory()
-
-
Method Details
-
addLinks
protected void addLinks(AuthenticationTokenResource halResource, org.springframework.data.domain.Pageable pageable, LinkedList<org.springframework.hateoas.Link> list) throws Exception - Specified by:
addLinksin classHalLinkFactory<AuthenticationTokenResource,AuthenticationRestController> - Throws:
Exception
-
getControllerClass
- Specified by:
getControllerClassin classHalLinkFactory<AuthenticationTokenResource,AuthenticationRestController>
-
getResourceClass
- Specified by:
getResourceClassin classHalLinkFactory<AuthenticationTokenResource,AuthenticationRestController>
-