Package org.dspace.orcid.client
Class OrcidResponse
java.lang.Object
org.dspace.orcid.client.OrcidResponse
Model a successfully response incoming from ORCID using
OrcidClient.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Constructor Summary
ConstructorsConstructorDescriptionOrcidResponse(int status, String putCode, String content) Create an ORCID response instance with the specified HTTP status, putCode and content. -
Method Summary
Modifier and TypeMethodDescriptionintboolean
-
Constructor Details
-
OrcidResponse
Create an ORCID response instance with the specified HTTP status, putCode and content.- Parameters:
status- the HTTP status incoming from ORCIDputCode- the identifier of the resource ORCID sidecontent- the response body content
-
-
Method Details
-
getStatus
public int getStatus() -
getPutCode
-
getContent
-
isNotFoundStatus
public boolean isNotFoundStatus()
-