Class MCRDataciteRestResponse
java.lang.Object
org.mycore.pi.doi.client.datacite.MCRDataciteRestResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
1 : Success.
-
Constructor Details
-
MCRDataciteRestResponse
public MCRDataciteRestResponse()
-
-
Method Details
-
getResponseCode
public int getResponseCode()1 : Success. (HTTP 200 OK) 2 : Error. Something unexpected went wrong during handle resolution. (HTTP 500 Internal Server Error) 100 : Handle Not Found. (HTTP 404 Not Found) 200 : Values Not Found. The handle exists but has no values (or no values according to the types and indices specified). (HTTP 200 OK)- Returns:
- the code
-
getHandle
-
getValues
-