public class

OAuthProxyResponse

extends HashMap<K, V>
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
[Expand]
Inherited Fields
From class java.util.HashMap
From class java.util.AbstractMap
Public Constructors
OAuthProxyResponse()
OAuthProxyResponse(Map<String, List<String>> headers)
Creates an OAuthProxyResponse object from a map of http headers, such as one obtained from HttpURLConnection#getHeaderFields().
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
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

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)

Sets the approval url.

Parameters
value

public void setError (String value)

Sets the OAuth error.

Parameters
value

public void setErrorText (String value)

Sets the OAuth error text.

Parameters
value

public void setState (String value)

Sets the OAuth state.

Parameters
value