Package org.dspace.app.rest
Class UUIDLookupRestController
java.lang.Object
org.dspace.app.rest.UUIDLookupRestController
- All Implemented Interfaces:
InitializingBean
@RestController
@RequestMapping("/api/dso")
public class UUIDLookupRestController
extends Object
implements InitializingBean
This is an utility endpoint to lookup a generic DSpaceObject. If found the controller will
respond with a redirection to the canonical endpoint for the actual object.
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetDSObyIdentifier(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, UUID uuid)
-
Field Details
-
CATEGORY
- See Also:
-
ACTION
- See Also:
-
PARAM
- See Also:
-
-
Constructor Details
-
UUIDLookupRestController
public UUIDLookupRestController()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceInitializingBean- Throws:
Exception
-
getDSObyIdentifier
@RequestMapping(method=GET, value="find", params="uuid") public void getDSObyIdentifier(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @RequestParam("uuid") UUID uuid) throws IOException, SQLException, AuthorizeException
-