public class OAuthProxyResponse extends HashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OAuthProxyResponse() |
OAuthProxyResponse(Map<String,List<String>> headers)
Creates an
OAuthProxyResponse object from a map of http headers,
such as one obtained from HttpURLConnection#getHeaderFields(). |
| Modifier and Type | Method and Description |
|---|---|
String |
getApprovalUrl()
Retrieves the approval url.
|
String |
getError()
Retrieves the OAuth error.
|
String |
getErrorText()
Retrieves the OAuth error text.
|
String |
getState()
Retrieves the OAuth state.
|
void |
setApprovalUrl(String value)
Sets the approval url.
|
void |
setError(String value)
Sets the OAuth error.
|
void |
setErrorText(String value)
Sets the OAuth error text.
|
void |
setState(String value)
Sets the OAuth state.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic OAuthProxyResponse()
public OAuthProxyResponse(Map<String,List<String>> headers)
OAuthProxyResponse object from a map of http headers,
such as one obtained from HttpURLConnection#getHeaderFields().headers - A map of http headers.public String getApprovalUrl()
public void setApprovalUrl(String value)
public String getError()
public void setError(String value)
public String getErrorText()
public void setErrorText(String value)
public String getState()
public void setState(String value)
Copyright © 2012. All Rights Reserved.