- checkArgument(boolean) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkArgument(boolean, Object) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkArgument(boolean, String, Object...) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkContentsNotNull(T) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that an Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
- checkContentsNotNull(T, Object) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that an Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
- checkContentsNotNull(T, String, Object...) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that an Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
- checkElementIndex(int, int) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that index
specifies a valid element in an array,
list or string of size size
.
- checkElementIndex(int, int, String) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that index
specifies a valid element in an array,
list or string of size size
.
- checkNotNull(T) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkNotNull(T, Object) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkNotNull(T, String, Object...) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkPositionIndex(int, int) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that index
specifies a valid position in an array,
list or string of size size
.
- checkPositionIndex(int, int, String) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that index
specifies a valid position in an array,
list or string of size size
.
- checkPositionIndexes(int, int, int) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures that start
and end
specify a valid positions
in an array, list or string of size size
, and are in order.
- checkState(boolean) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- checkState(boolean, Object) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object...) - Static method in class com.google.gdata.util.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- clear() - Method in class oauth.signpost.http.HttpParameters
-
- closeConnection(HttpRequest, HttpResponse) - Method in class oauth.signpost.AbstractOAuthProvider
-
Called when the connection is being finalized after receiving the
response.
- closeConnection(HttpRequest, HttpResponse) - Method in class oauth.signpost.basic.DefaultOAuthProvider
-
- closeConnection(HttpRequest, HttpResponse) - Method in class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
-
- codePointAt(CharSequence, int, int) - Static method in class com.google.gdata.util.common.base.UnicodeEscaper
-
Returns the Unicode code point of the character at the given index.
- collectBodyParameters(HttpRequest, HttpParameters) - Method in class oauth.signpost.AbstractOAuthConsumer
-
Collects x-www-form-urlencoded body parameters as per OAuth Core 1.0 spec
section 9.1.1
- collectHeaderParameters(HttpRequest, HttpParameters) - Method in class oauth.signpost.AbstractOAuthConsumer
-
Collects OAuth Authorization header parameters as per OAuth Core 1.0 spec
section 9.1.1
- collectQueryParameters(HttpRequest, HttpParameters) - Method in class oauth.signpost.AbstractOAuthConsumer
-
Collects HTTP GET query string parameters as per OAuth Core 1.0 spec
section 9.1.1
- com.google.gdata.util.common.base - package com.google.gdata.util.common.base
-
- CommonsHttpOAuthConsumer - Class in oauth.signpost.commonshttp
-
Supports signing HTTP requests of type HttpRequest
.
- CommonsHttpOAuthConsumer(String, String) - Constructor for class oauth.signpost.commonshttp.CommonsHttpOAuthConsumer
-
- CommonsHttpOAuthProvider - Class in oauth.signpost.commonshttp
-
This implementation uses the Apache Commons HttpClient
4.x HTTP
implementation to fetch OAuth tokens from a service provider.
- CommonsHttpOAuthProvider(String, String, String) - Constructor for class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
-
- CommonsHttpOAuthProvider(String, String, String, HttpClient) - Constructor for class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
-
- completeOAuthParameters(HttpParameters) - Method in class oauth.signpost.AbstractOAuthConsumer
-
Helper method that adds any OAuth parameters to the given request
parameters which are missing from the current request but required for
signing.
- connection - Variable in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
-
- containsKey(Object) - Method in class oauth.signpost.http.HttpParameters
-
- containsValue(Object) - Method in class oauth.signpost.http.HttpParameters
-
- createRequest(String) - Method in class oauth.signpost.AbstractOAuthProvider
-
Overrride this method if you want to customize the logic for building a
request object for the given endpoint URL.
- createRequest(String) - Method in class oauth.signpost.basic.DefaultOAuthProvider
-
- createRequest(String) - Method in class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
-
- SAFECHARS_URLENCODER - Static variable in class com.google.gdata.util.common.base.PercentEscaper
-
A string of safe characters that mimics the behavior of
URLEncoder
.
- SAFEPATHCHARS_URLENCODER - Static variable in class com.google.gdata.util.common.base.PercentEscaper
-
A string of characters that do not need to be encoded when used in URI
path segments, as specified in RFC 3986.
- SAFEQUERYSTRINGCHARS_URLENCODER - Static variable in class com.google.gdata.util.common.base.PercentEscaper
-
A string of characters that do not need to be encoded when used in URI
query strings, as specified in RFC 3986.
- safeToString(Object) - Static method in class oauth.signpost.OAuth
-
- sendRequest(HttpRequest) - Method in class oauth.signpost.AbstractOAuthProvider
-
Override this method if you want to customize the logic for how the given
request is sent to the server.
- sendRequest(HttpRequest) - Method in class oauth.signpost.basic.DefaultOAuthProvider
-
- sendRequest(HttpRequest) - Method in class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
-
- setAdditionalParameters(HttpParameters) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- setAdditionalParameters(HttpParameters) - Method in interface oauth.signpost.OAuthConsumer
-
Allows you to add parameters (typically OAuth parameters such as
oauth_callback or oauth_verifier) which will go directly into the signer,
i.e.
- setConsumerSecret(String) - Method in class oauth.signpost.signature.OAuthMessageSigner
-
- setHeader(String, String) - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
-
- setHeader(String, String) - Method in class oauth.signpost.basic.UrlStringRequestAdapter
-
- setHeader(String, String) - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
-
- setHeader(String, String) - Method in interface oauth.signpost.http.HttpRequest
-
- setHttpClient(HttpClient) - Method in class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
-
- setListener(OAuthProviderListener) - Method in class oauth.signpost.AbstractOAuthProvider
-
- setListener(OAuthProviderListener) - Method in interface oauth.signpost.OAuthProvider
-
- setMessageSigner(OAuthMessageSigner) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- setMessageSigner(OAuthMessageSigner) - Method in interface oauth.signpost.OAuthConsumer
-
Sets the message signer that should be used to generate the OAuth
signature.
- setOAuth10a(boolean) - Method in class oauth.signpost.AbstractOAuthProvider
-
- setOAuth10a(boolean) - Method in interface oauth.signpost.OAuthProvider
-
- setRequestHeader(String, String) - Method in class oauth.signpost.AbstractOAuthProvider
-
- setRequestHeader(String, String) - Method in interface oauth.signpost.OAuthProvider
-
Deprecated.
- setRequestUrl(String) - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
-
- setRequestUrl(String) - Method in class oauth.signpost.basic.UrlStringRequestAdapter
-
- setRequestUrl(String) - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
-
- setRequestUrl(String) - Method in interface oauth.signpost.http.HttpRequest
-
- setResponseParameters(HttpParameters) - Method in class oauth.signpost.AbstractOAuthProvider
-
- setResponseParameters(HttpParameters) - Method in interface oauth.signpost.OAuthProvider
-
Subclasses must use this setter to preserve any non-OAuth query
parameters contained in the server response.
- setSendEmptyTokens(boolean) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- setSendEmptyTokens(boolean) - Method in interface oauth.signpost.OAuthConsumer
-
Causes the consumer to always include the oauth_token parameter to be
sent, even if blank.
- setSigningStrategy(SigningStrategy) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- setSigningStrategy(SigningStrategy) - Method in interface oauth.signpost.OAuthConsumer
-
Defines which strategy should be used to write a signature to an HTTP
request.
- setTokenSecret(String) - Method in class oauth.signpost.signature.OAuthMessageSigner
-
- setTokenWithSecret(String, String) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- setTokenWithSecret(String, String) - Method in interface oauth.signpost.OAuthConsumer
-
Sets the OAuth token and token secret used for message signing.
- sign(HttpRequest) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- sign(Object) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- sign(String) - Method in class oauth.signpost.AbstractOAuthConsumer
-
- sign(HttpRequest) - Method in interface oauth.signpost.OAuthConsumer
-
Signs the given HTTP request by writing an OAuth signature (and other
required OAuth parameters) to it.
- sign(Object) - Method in interface oauth.signpost.OAuthConsumer
-
Signs the given HTTP request by writing an OAuth signature (and other
required OAuth parameters) to it.
- sign(String) - Method in interface oauth.signpost.OAuthConsumer
-
"Signs" the given URL by appending all OAuth parameters to it which are
required for message signing.
- sign(HttpRequest, HttpParameters) - Method in class oauth.signpost.signature.HmacSha1MessageSigner
-
- sign(HttpRequest, HttpParameters) - Method in class oauth.signpost.signature.OAuthMessageSigner
-
- sign(HttpRequest, HttpParameters) - Method in class oauth.signpost.signature.PlainTextMessageSigner
-
- SignatureBaseString - Class in oauth.signpost.signature
-
- SignatureBaseString(HttpRequest, HttpParameters) - Constructor for class oauth.signpost.signature.SignatureBaseString
-
Constructs a new SBS instance that will operate on the given request
object and parameter set.
- SigningStrategy - Interface in oauth.signpost.signature
-
Defines how an OAuth signature string is written to a request.
- size() - Method in class oauth.signpost.http.HttpParameters
-