Class SimpleRelProvider
java.lang.Object
org.springframework.data.rest.core.support.SimpleRelProvider
- All Implemented Interfaces:
LinkRelationProvider
,org.springframework.plugin.core.Plugin<LinkRelationProvider.LookupContext>
- Author:
- Oliver Gierke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.hateoas.server.LinkRelationProvider
LinkRelationProvider.LookupContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCollectionResourceRelFor
(Class<?> type) getItemResourceRelFor
(Class<?> type) boolean
-
Constructor Details
-
SimpleRelProvider
public SimpleRelProvider()
-
-
Method Details
-
supports
- Specified by:
supports
in interfaceLinkRelationProvider
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<LinkRelationProvider.LookupContext>
-
getItemResourceRelFor
- Specified by:
getItemResourceRelFor
in interfaceLinkRelationProvider
-
getCollectionResourceRelFor
- Specified by:
getCollectionResourceRelFor
in interfaceLinkRelationProvider
-