Package org.dspace.app.rest
Class IdentifierRestController
- java.lang.Object
-
- org.dspace.app.rest.IdentifierRestController
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@RestController @RequestMapping("/api/pid") public class IdentifierRestController extends Object implements org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description IdentifierRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidgetDSObyIdentifier(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String id)
-
-
-
Field Detail
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
ACTION
public static final String ACTION
- See Also:
- Constant Field Values
-
PARAM
public static final String PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getDSObyIdentifier
@RequestMapping(method=GET, value="find", params="id") public void getDSObyIdentifier(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @RequestParam("id") String id) throws IOException, SQLException- Throws:
IOExceptionSQLException
-
-