Package org.dspace.orcid.client
Class OrcidResponse
- java.lang.Object
-
- org.dspace.orcid.client.OrcidResponse
-
public final class OrcidResponse extends Object
Model a successfully response incoming from ORCID usingOrcidClient.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
-
Constructor Summary
Constructors Constructor Description OrcidResponse(int status, String putCode, String content)Create an ORCID response instance with the specified HTTP status, putCode and content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()StringgetPutCode()intgetStatus()booleanisNotFoundStatus()
-
-
-
Constructor Detail
-
OrcidResponse
public OrcidResponse(int status, String putCode, String content)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
-
-