public class EZIDResponse
extends java.lang.Object
| Constructor and Description |
|---|
EZIDResponse(org.apache.http.HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(java.lang.String key)
Look up the value of a given response datum.
|
java.lang.String |
getEZIDStatus()
Get the EZID request status.
|
java.lang.String |
getEZIDStatusValue()
Value associated with the EZID status (identifier, error text, etc.).
|
java.lang.String |
getHttpReasonPhrase() |
int |
getHttpStatusCode() |
java.util.List<java.lang.String> |
getKeys()
Expose the available keys.
|
boolean |
isSuccess()
Did the EZID request succeed?
|
public EZIDResponse(org.apache.http.HttpResponse response)
throws IdentifierException
IdentifierExceptionpublic boolean isSuccess()
public java.lang.String getEZIDStatus()
public java.lang.String getEZIDStatusValue()
public java.util.List<java.lang.String> getKeys()
public java.lang.String get(java.lang.String key)
key - the datum to look up.key, or null if key is undefined.public int getHttpStatusCode()
public java.lang.String getHttpReasonPhrase()
Copyright © 2018 DuraSpace. All Rights Reserved.