public class EZIDResponse extends Object
| Constructor and Description |
|---|
EZIDResponse(org.apache.http.HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String key)
Look up the value of a given response datum.
|
String |
getEZIDStatus()
Get the EZID request status.
|
String |
getEZIDStatusValue()
Value associated with the EZID status (identifier, error text, etc.).
|
String |
getHttpReasonPhrase() |
int |
getHttpStatusCode() |
List<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 String getEZIDStatus()
public String getEZIDStatusValue()
public List<String> getKeys()
public String get(String key)
key - the datum to look up.key, or null if key is undefined.public int getHttpStatusCode()
public String getHttpReasonPhrase()
Copyright © 2016 DuraSpace. All Rights Reserved.