Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.springframework.hateoas.server.LinkRelationProvider

        org.springframework.hateoas.server.LinkRelationProvider.LookupContext
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface groovy.lang.GroovyObject

        getProperty, invokeMethod, setProperty
    • Constructor Detail

      • JsonRootRelProvider

        public JsonRootRelProvider()
    • Method Detail

      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • getItemResourceRelFor

        public org.springframework.hateoas.LinkRelation getItemResourceRelFor​(java.lang.Class<?> aClass)
        Specified by:
        getItemResourceRelFor in interface org.springframework.hateoas.server.LinkRelationProvider
      • getCollectionResourceRelFor

        public org.springframework.hateoas.LinkRelation getCollectionResourceRelFor​(java.lang.Class<?> type)
        Specified by:
        getCollectionResourceRelFor in interface org.springframework.hateoas.server.LinkRelationProvider
      • supports

        public boolean supports​(org.springframework.hateoas.server.LinkRelationProvider.LookupContext delimiter)
        Specified by:
        supports in interface org.springframework.hateoas.server.LinkRelationProvider
        Specified by:
        supports in interface org.springframework.plugin.core.Plugin<org.springframework.hateoas.server.LinkRelationProvider.LookupContext>