Class ResearchObjectProfileController


  • @RestController
    public class ResearchObjectProfileController
    extends java.lang.Object
    A simple controller to handle RO profile GET requests (index and view).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.hateoas.Resources<org.springframework.hateoas.Resource<ResearchObjectProfile>> all()  
      org.springframework.hateoas.Resource<ResearchObjectProfile> one​(java.lang.String name)  
      com.fasterxml.jackson.databind.node.ObjectNode template​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResearchObjectProfileController

        public ResearchObjectProfileController()
    • Method Detail

      • all

        @GetMapping(value="/profiles",
                    produces="application/hal+json")
        public org.springframework.hateoas.Resources<org.springframework.hateoas.Resource<ResearchObjectProfile>> all()
      • one

        @GetMapping(value="/profiles/{name}",
                    produces="application/hal+json")
        public org.springframework.hateoas.Resource<ResearchObjectProfile> one​(@PathVariable
                                                                               java.lang.String name)
      • template

        @GetMapping(value="/profiles/{name}/template",
                    produces="application/json")
        public com.fasterxml.jackson.databind.node.ObjectNode template​(@PathVariable
                                                                       java.lang.String name)