| java.lang.Object |
| ↳ |
java.util.AbstractMap<K, V> |
| |
↳ |
java.util.HashMap<K, V> |
| |
|
↳ |
com.google.gdata.client.authn.oauthproxy.OAuthProxyResponse |
Class Overview
Stores the variables related to an OAuth Proxy response.
Summary
|
[Expand]
Inherited Constants |
From class
java.util.HashMap
| int |
DEFAULT_INITIAL_CAPACITY |
|
| float |
DEFAULT_LOAD_FACTOR |
|
| int |
MAXIMUM_CAPACITY |
|
| long |
serialVersionUID |
|
|
|
[Expand]
Inherited Fields |
From class
java.util.HashMap
|
private
Set<Entry<K, V>> |
entrySet |
|
|
final
float |
loadFactor |
|
|
int |
modCount |
|
|
int |
size |
|
|
Entry[] |
table |
|
|
int |
threshold |
|
|
From class
java.util.AbstractMap
|
Set<K> |
keySet |
|
|
Collection<V> |
values |
|
|
| Public Methods |
|
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.
|
|
[Expand]
Inherited Methods |
From class
java.util.HashMap
|
void
|
clear()
|
|
Object
|
clone()
|
|
boolean
|
containsKey(Object arg0)
|
|
boolean
|
containsValue(Object arg0)
|
|
Set<Entry<K, V>>
|
entrySet()
|
|
V
|
get(Object arg0)
|
|
boolean
|
isEmpty()
|
|
Set<K>
|
keySet()
|
|
V
|
put(K arg0, V arg1)
|
|
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
|
V
|
remove(Object arg0)
|
|
int
|
size()
|
|
Collection<V>
|
values()
|
|
From class
java.util.AbstractMap
|
void
|
clear()
|
|
Object
|
clone()
|
|
boolean
|
containsKey(Object arg0)
|
|
boolean
|
containsValue(Object arg0)
|
|
abstract
Set<Entry<K, V>>
|
entrySet()
|
|
boolean
|
equals(Object arg0)
|
|
V
|
get(Object arg0)
|
|
int
|
hashCode()
|
|
boolean
|
isEmpty()
|
|
Set<K>
|
keySet()
|
|
V
|
put(K arg0, V arg1)
|
|
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
|
V
|
remove(Object arg0)
|
|
int
|
size()
|
|
String
|
toString()
|
|
Collection<V>
|
values()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Map
|
abstract
void
|
clear()
|
|
abstract
boolean
|
containsKey(Object arg0)
|
|
abstract
boolean
|
containsValue(Object arg0)
|
|
abstract
Set<Entry<K, V>>
|
entrySet()
|
|
abstract
boolean
|
equals(Object arg0)
|
|
abstract
V
|
get(Object arg0)
|
|
abstract
int
|
hashCode()
|
|
abstract
boolean
|
isEmpty()
|
|
abstract
Set<K>
|
keySet()
|
|
abstract
V
|
put(K arg0, V arg1)
|
|
abstract
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
|
abstract
V
|
remove(Object arg0)
|
|
abstract
int
|
size()
|
|
abstract
Collection<V>
|
values()
|
|
Public Constructors
public
OAuthProxyResponse
()
public
OAuthProxyResponse
(Map<String, List<String>> headers)
Creates an OAuthProxyResponse object from a map of http headers,
such as one obtained from HttpURLConnection#getHeaderFields().
Parameters
| headers
| A map of http headers.
|
Public Methods
public
String
getApprovalUrl
()
Retrieves the approval url. If this url is present in a request, the
consumer should redirect the user to this url to reauthorize.
public
String
getError
()
Retrieves the OAuth error.
public
String
getErrorText
()
Retrieves the OAuth error text.
public
String
getState
()
Retrieves the OAuth state.
public
void
setApprovalUrl
(String value)
public
void
setError
(String value)
public
void
setErrorText
(String value)
Sets the OAuth error text.
public
void
setState
(String value)