|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.http.json.JsonHttpRequest
com.google.api.services.oauth2.Oauth2Request
public class Oauth2Request
Generated Oauth2 request.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
Oauth2Request(JsonHttpClient client,
HttpMethod method,
String uriTemplate,
Object content)
Builds an instance of Oauth2Request. |
|
| Method Summary | |
|---|---|
String |
getAlt()
Data format for the response. |
String |
getFields()
Selector specifying which fields to include in a partial response. |
String |
getKey()
API key. |
String |
getOauthToken()
OAuth 2.0 token for the current user. |
Boolean |
getPrettyPrint()
Returns response with indentations and line breaks. |
String |
getQuotaUser()
Available to use for quota purposes for server-side applications. |
String |
getUserIp()
IP address of the site where the request originates. |
Oauth2Request |
setAlt(String alt)
Data format for the response. |
Oauth2Request |
setFields(String fields)
Selector specifying which fields to include in a partial response. |
Oauth2Request |
setKey(String key)
API key. |
Oauth2Request |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user. |
Oauth2Request |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks. |
Oauth2Request |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications. |
Oauth2Request |
setUserIp(String userIp)
IP address of the site where the request originates. |
| Methods inherited from class com.google.api.client.http.json.JsonHttpRequest |
|---|
buildHttpRequest, buildHttpRequestUrl, download, executeAsInputStream, executeUnparsed, getClient, getEnableGZipContent, getJsonContent, getLastResponseHeaders, getMethod, getRequestHeaders, getUriTemplate, setEnableGZipContent, setRequestHeaders |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Oauth2Request(JsonHttpClient client,
HttpMethod method,
String uriTemplate,
Object content)
client - The JSON HTTP client which handles this requestmethod - HTTP Method typeuriTemplate - URI templatecontent - A POJO that can be serialized into JSON or null for none| Method Detail |
|---|
public Boolean getPrettyPrint()
public Oauth2Request setPrettyPrint(Boolean prettyPrint)
public String getFields()
public Oauth2Request setFields(String fields)
public String getQuotaUser()
public Oauth2Request setQuotaUser(String quotaUser)
public String getOauthToken()
public Oauth2Request setOauthToken(String oauthToken)
public String getKey()
public Oauth2Request setKey(String key)
public String getUserIp()
public Oauth2Request setUserIp(String userIp)
public String getAlt()
public Oauth2Request setAlt(String alt)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||