Class OrcidResponse


  • public final class OrcidResponse
    extends Object
    Model a successfully response incoming from ORCID using OrcidClient.
    Author:
    Luca Giamminonni (luca.giamminonni at 4science.it)
    • 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 ORCID
        putCode - the identifier of the resource ORCID side
        content - the response body content
    • Method Detail

      • getStatus

        public int getStatus()
      • getPutCode

        public String getPutCode()
      • getContent

        public String getContent()
      • isNotFoundStatus

        public boolean isNotFoundStatus()