Package org.dspace.app.rest
Class RootRestResourceController
- java.lang.Object
-
- org.dspace.app.rest.RootRestResourceController
-
@RestController @RequestMapping("/api") public class RootRestResourceController extends ObjectThis 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 Summary
Constructors Constructor Description RootRestResourceController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootResourcelistDefinedEndpoint(javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
listDefinedEndpoint
@RequestMapping(method=GET) public RootResource listDefinedEndpoint(javax.servlet.http.HttpServletRequest request)
-
-