Class JsonRootRelProvider
- java.lang.Object
-
- com.netgrif.application.engine.configuration.JsonRootRelProvider
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,org.springframework.hateoas.server.LinkRelationProvider
,org.springframework.plugin.core.Plugin<org.springframework.hateoas.server.LinkRelationProvider.LookupContext>
public class JsonRootRelProvider extends java.lang.Object implements org.springframework.hateoas.server.LinkRelationProvider, groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description JsonRootRelProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.hateoas.LinkRelation
getCollectionResourceRelFor(java.lang.Class<?> type)
org.springframework.hateoas.LinkRelation
getItemResourceRelFor(java.lang.Class<?> aClass)
groovy.lang.MetaClass
getMetaClass()
void
setMetaClass(groovy.lang.MetaClass mc)
boolean
supports(org.springframework.hateoas.server.LinkRelationProvider.LookupContext delimiter)
-
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
getItemResourceRelFor
public org.springframework.hateoas.LinkRelation getItemResourceRelFor(java.lang.Class<?> aClass)
- Specified by:
getItemResourceRelFor
in interfaceorg.springframework.hateoas.server.LinkRelationProvider
-
getCollectionResourceRelFor
public org.springframework.hateoas.LinkRelation getCollectionResourceRelFor(java.lang.Class<?> type)
- Specified by:
getCollectionResourceRelFor
in interfaceorg.springframework.hateoas.server.LinkRelationProvider
-
supports
public boolean supports(org.springframework.hateoas.server.LinkRelationProvider.LookupContext delimiter)
- Specified by:
supports
in interfaceorg.springframework.hateoas.server.LinkRelationProvider
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<org.springframework.hateoas.server.LinkRelationProvider.LookupContext>
-
-