Class RootRestResourceController


  • @RestController
    @RequestMapping("/api")
    public class RootRestResourceController
    extends Object
    This is the main entry point of the new REST API. Its responsibility is to provide a consistent behaviors for all the exposed resources in terms of returned HTTP codes, endpoint URLs, HTTP verbs to methods translation, etc. It delegates to the repository the business logic
    Author:
    Andrea Bollini (andrea.bollini at 4science.it)
    • Constructor Detail

      • RootRestResourceController

        public RootRestResourceController()
    • Method Detail

      • listDefinedEndpoint

        @RequestMapping(method=GET)
        public RootResource listDefinedEndpoint​(javax.servlet.http.HttpServletRequest request)