Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractOAuthConsumer - Class in oauth.signpost
ABC for consumer implementations.
AbstractOAuthConsumer(String, String) - Constructor for class oauth.signpost.AbstractOAuthConsumer
 
AbstractOAuthProvider - Class in oauth.signpost
ABC for all provider implementations.
AbstractOAuthProvider(String, String, String) - Constructor for class oauth.signpost.AbstractOAuthProvider
 
accessTokenEndpointUrl - Variable in class oauth.signpost.AbstractOAuthProvider
 
additionalParameters - Variable in class oauth.signpost.AbstractOAuthConsumer
 
addQueryParameters(String, String...) - Static method in class oauth.signpost.OAuth
Appends a list of key/value pairs to the given URL, e.g.:
addQueryParameters(String, Map<String, String>) - Static method in class oauth.signpost.OAuth
 
addQueryString(String, String) - Static method in class oauth.signpost.OAuth
 
AuthorizationHeaderSigningStrategy - Class in oauth.signpost.signature
Writes to the HTTP Authorization header field.
AuthorizationHeaderSigningStrategy() - Constructor for class oauth.signpost.signature.AuthorizationHeaderSigningStrategy
 
authorizationWebsiteUrl - Variable in class oauth.signpost.AbstractOAuthProvider
 

B

base64 - Variable in class oauth.signpost.signature.OAuthMessageSigner
 
base64Encode(byte[]) - Method in class oauth.signpost.signature.OAuthMessageSigner
 

C

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
 
connection - Variable in class oauth.signpost.basic.HttpURLConnectionResponseAdapter
 
consumerKey - Variable in class oauth.signpost.AbstractOAuthConsumer
 
consumerSecret - Variable in class oauth.signpost.AbstractOAuthConsumer
 
consumerSecret - Variable in class oauth.signpost.signature.OAuthMessageSigner
 
containsKey(Object) - Method in class oauth.signpost.http.HttpParameters
 
containsOrIsNull(Iterable<?>) - Static method in class com.google.gdata.util.common.base.Preconditions
 
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
 
createSafeOctets(String) - Static method in class com.google.gdata.util.common.base.PercentEscaper
Creates a boolean[] with entries corresponding to the character values for 0-9, A-Z, a-z and those specified in safeChars set to true.

D

debugOut(String, String) - Static method in class oauth.signpost.OAuth
 
decodeBase64(String) - Method in class oauth.signpost.signature.OAuthMessageSigner
 
decodeForm(InputStream) - Static method in class oauth.signpost.OAuth
 
decodeForm(String) - Static method in class oauth.signpost.OAuth
Parse a form-urlencoded document.
defaultHeaders - Variable in class oauth.signpost.AbstractOAuthProvider
 
DefaultOAuthConsumer - Class in oauth.signpost.basic
The default implementation for an OAuth consumer.
DefaultOAuthConsumer(String, String) - Constructor for class oauth.signpost.basic.DefaultOAuthConsumer
 
DefaultOAuthProvider - Class in oauth.signpost.basic
This default implementation uses HttpURLConnection type GET requests to receive tokens from a service provider.
DefaultOAuthProvider(String, String, String) - Constructor for class oauth.signpost.basic.DefaultOAuthProvider
 
DEST_PAD - Static variable in class com.google.gdata.util.common.base.UnicodeEscaper
The amount of padding (chars) to use when growing the escape buffer.
DEST_TL - Static variable in class com.google.gdata.util.common.base.UnicodeEscaper
A thread-local destination buffer to keep us from creating new buffers.

E

ENCODING - Static variable in class oauth.signpost.OAuth
 
entity - Variable in class oauth.signpost.commonshttp.HttpRequestAdapter
 
entrySet() - Method in class oauth.signpost.http.HttpParameters
 
ERROR - Static variable in exception class oauth.signpost.exception.OAuthNotAuthorizedException
 
escape(int) - Method in class com.google.gdata.util.common.base.PercentEscaper
Escapes the given Unicode code point in UTF-8.
escape(int) - Method in class com.google.gdata.util.common.base.UnicodeEscaper
Returns the escaped form of the given Unicode code point, or null if this code point does not need to be escaped.
escape(Appendable) - Method in interface com.google.gdata.util.common.base.Escaper
Returns an Appendable instance which automatically escapes all text appended to it before passing the resulting text to an underlying Appendable.
escape(Appendable) - Method in class com.google.gdata.util.common.base.UnicodeEscaper
Returns an Appendable instance which automatically escapes all text appended to it before passing the resulting text to an underlying Appendable.
escape(String) - Method in interface com.google.gdata.util.common.base.Escaper
Returns the escaped form of a given literal string.
escape(String) - Method in class com.google.gdata.util.common.base.PercentEscaper
 
escape(String) - Method in class com.google.gdata.util.common.base.UnicodeEscaper
Returns the escaped form of a given literal string.
Escaper - Interface in com.google.gdata.util.common.base
An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).
escapeSlow(String, int) - Method in class com.google.gdata.util.common.base.UnicodeEscaper
Returns the escaped form of a given literal string, starting at the given index.

F

FORM_ENCODED - Static variable in class oauth.signpost.OAuth
 
format(String, Object...) - Static method in class com.google.gdata.util.common.base.Preconditions
Substitutes each %s in template with an argument.
formEncode(Collection<T>) - Static method in class oauth.signpost.OAuth
Construct a x-www-form-urlencoded document containing the given sequence of name/value pairs.
formEncode(Collection<T>, OutputStream) - Static method in class oauth.signpost.OAuth
Construct a x-www-form-urlencoded document containing the given sequence of name/value pairs.

G

generate() - Method in class oauth.signpost.signature.SignatureBaseString
Builds the signature base string from the data this instance was configured with.
generateNonce() - Method in class oauth.signpost.AbstractOAuthConsumer
 
generateTimestamp() - Method in class oauth.signpost.AbstractOAuthConsumer
 
get(Object) - Method in class oauth.signpost.http.HttpParameters
 
getAccessTokenEndpointUrl() - Method in class oauth.signpost.AbstractOAuthProvider
 
getAccessTokenEndpointUrl() - Method in interface oauth.signpost.OAuthProvider
 
getAllHeaders() - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
getAllHeaders() - Method in class oauth.signpost.basic.UrlStringRequestAdapter
 
getAllHeaders() - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
 
getAllHeaders() - Method in interface oauth.signpost.http.HttpRequest
 
getAsHeaderElement(String) - Method in class oauth.signpost.http.HttpParameters
 
getAsQueryString(Object) - Method in class oauth.signpost.http.HttpParameters
Concatenates all values for the given key to a list of key/value pairs suitable for use in a URL query string.
getAsQueryString(Object, boolean) - Method in class oauth.signpost.http.HttpParameters
Concatenates all values for the given key to a list of key/value pairs suitable for use in a URL query string.
getAuthorizationWebsiteUrl() - Method in class oauth.signpost.AbstractOAuthProvider
 
getAuthorizationWebsiteUrl() - Method in interface oauth.signpost.OAuthProvider
 
getConsumerKey() - Method in class oauth.signpost.AbstractOAuthConsumer
 
getConsumerKey() - Method in interface oauth.signpost.OAuthConsumer
 
getConsumerSecret() - Method in class oauth.signpost.AbstractOAuthConsumer
 
getConsumerSecret() - Method in interface oauth.signpost.OAuthConsumer
 
getConsumerSecret() - Method in class oauth.signpost.signature.OAuthMessageSigner
 
getContent() - Method in class oauth.signpost.basic.HttpURLConnectionResponseAdapter
 
getContent() - Method in class oauth.signpost.commonshttp.HttpResponseAdapter
 
getContent() - Method in interface oauth.signpost.http.HttpResponse
 
getContentType() - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
getContentType() - Method in class oauth.signpost.basic.UrlStringRequestAdapter
 
getContentType() - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
 
getContentType() - Method in interface oauth.signpost.http.HttpRequest
 
getFirst(Object) - Method in class oauth.signpost.http.HttpParameters
Convenience method for
invalid @link
{@link #getFirst(key, false)
}.
getFirst(Object, boolean) - Method in class oauth.signpost.http.HttpParameters
Returns the first value from the set of all values for the given parameter name.
getHeader(String) - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
getHeader(String) - Method in class oauth.signpost.basic.UrlStringRequestAdapter
 
getHeader(String) - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
 
getHeader(String) - Method in interface oauth.signpost.http.HttpRequest
 
getMessagePayload() - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
getMessagePayload() - Method in class oauth.signpost.basic.UrlStringRequestAdapter
 
getMessagePayload() - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
 
getMessagePayload() - Method in interface oauth.signpost.http.HttpRequest
 
getMethod() - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
getMethod() - Method in class oauth.signpost.basic.UrlStringRequestAdapter
 
getMethod() - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
 
getMethod() - Method in interface oauth.signpost.http.HttpRequest
 
getOAuthParameters() - Method in class oauth.signpost.http.HttpParameters
 
getReasonPhrase() - Method in class oauth.signpost.basic.HttpURLConnectionResponseAdapter
 
getReasonPhrase() - Method in class oauth.signpost.commonshttp.HttpResponseAdapter
 
getReasonPhrase() - Method in interface oauth.signpost.http.HttpResponse
 
getRequestHeaders() - Method in class oauth.signpost.AbstractOAuthProvider
 
getRequestHeaders() - Method in interface oauth.signpost.OAuthProvider
Deprecated.
THIS METHOD HAS BEEN DEPRECATED. Use OAuthProviderListener to customize requests.
getRequestParameters() - Method in class oauth.signpost.AbstractOAuthConsumer
 
getRequestParameters() - Method in interface oauth.signpost.OAuthConsumer
Returns all parameters collected from the HTTP request during message signing (this means the return value may be NULL before a call to OAuthConsumer.sign(oauth.signpost.http.HttpRequest)), plus all required OAuth parameters that were added because the request didn't contain them beforehand.
getRequestTokenEndpointUrl() - Method in class oauth.signpost.AbstractOAuthProvider
 
getRequestTokenEndpointUrl() - Method in interface oauth.signpost.OAuthProvider
 
getRequestUrl() - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
getRequestUrl() - Method in class oauth.signpost.basic.UrlStringRequestAdapter
 
getRequestUrl() - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
 
getRequestUrl() - Method in interface oauth.signpost.http.HttpRequest
 
getResponseBody() - Method in exception class oauth.signpost.exception.OAuthCommunicationException
 
getResponseBody() - Method in exception class oauth.signpost.exception.OAuthNotAuthorizedException
 
getResponseParameter(String) - Method in class oauth.signpost.AbstractOAuthProvider
Returns a single query parameter as served by the service provider in a token reply.
getResponseParameters() - Method in class oauth.signpost.AbstractOAuthProvider
 
getResponseParameters() - Method in interface oauth.signpost.OAuthProvider
Any additional non-OAuth parameters returned in the response body of a token request can be obtained through this method.
getSignatureMethod() - Method in class oauth.signpost.signature.HmacSha1MessageSigner
 
getSignatureMethod() - Method in class oauth.signpost.signature.OAuthMessageSigner
 
getSignatureMethod() - Method in class oauth.signpost.signature.PlainTextMessageSigner
 
getStatusCode() - Method in class oauth.signpost.basic.HttpURLConnectionResponseAdapter
 
getStatusCode() - Method in class oauth.signpost.commonshttp.HttpResponseAdapter
 
getStatusCode() - Method in interface oauth.signpost.http.HttpResponse
 
getToken() - Method in class oauth.signpost.AbstractOAuthConsumer
 
getToken() - Method in interface oauth.signpost.OAuthConsumer
 
getTokenSecret() - Method in class oauth.signpost.AbstractOAuthConsumer
 
getTokenSecret() - Method in interface oauth.signpost.OAuthConsumer
 
getTokenSecret() - Method in class oauth.signpost.signature.OAuthMessageSigner
 
growBuffer(char[], int, int) - Static method in class com.google.gdata.util.common.base.UnicodeEscaper
Helper method to grow the character buffer as needed, this only happens once in a while so it's ok if it's in a method call.

H

handleUnexpectedResponse(int, HttpResponse) - Method in class oauth.signpost.AbstractOAuthProvider
 
HmacSha1MessageSigner - Class in oauth.signpost.signature
 
HmacSha1MessageSigner() - Constructor for class oauth.signpost.signature.HmacSha1MessageSigner
 
HTTP_AUTHORIZATION_HEADER - Static variable in class oauth.signpost.OAuth
 
httpClient - Variable in class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
 
HttpParameters - Class in oauth.signpost.http
A multi-map of HTTP request parameters.
HttpParameters() - Constructor for class oauth.signpost.http.HttpParameters
 
HttpRequest - Interface in oauth.signpost.http
A concise description of an HTTP request.
HttpRequestAdapter - Class in oauth.signpost.commonshttp
 
HttpRequestAdapter(HttpUriRequest) - Constructor for class oauth.signpost.commonshttp.HttpRequestAdapter
 
HttpResponse - Interface in oauth.signpost.http
 
HttpResponseAdapter - Class in oauth.signpost.commonshttp
 
HttpResponseAdapter(HttpResponse) - Constructor for class oauth.signpost.commonshttp.HttpResponseAdapter
 
HttpURLConnectionRequestAdapter - Class in oauth.signpost.basic
 
HttpURLConnectionRequestAdapter(HttpURLConnection) - Constructor for class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
HttpURLConnectionResponseAdapter - Class in oauth.signpost.basic
 
HttpURLConnectionResponseAdapter(HttpURLConnection) - Constructor for class oauth.signpost.basic.HttpURLConnectionResponseAdapter
 

I

isEmpty() - Method in class oauth.signpost.http.HttpParameters
 
isEmpty(String) - Static method in class oauth.signpost.OAuth
 
isOAuth10a - Variable in class oauth.signpost.AbstractOAuthProvider
 
isOAuth10a() - Method in class oauth.signpost.AbstractOAuthProvider
 
isOAuth10a() - Method in interface oauth.signpost.OAuthProvider
 

K

keySet() - Method in class oauth.signpost.http.HttpParameters
 

L

listener - Variable in class oauth.signpost.AbstractOAuthProvider
 

M

MAC_NAME - Static variable in class oauth.signpost.signature.HmacSha1MessageSigner
 
messageSigner - Variable in class oauth.signpost.AbstractOAuthConsumer
 

N

nextEscapeIndex(CharSequence, int, int) - Method in class com.google.gdata.util.common.base.PercentEscaper
 
nextEscapeIndex(CharSequence, int, int) - Method in class com.google.gdata.util.common.base.UnicodeEscaper
Scans a sub-sequence of characters from a given CharSequence, returning the index of the next character that requires escaping.
normalizeRequestParameters() - Method in class oauth.signpost.signature.SignatureBaseString
Normalizes the set of request parameters this instance was configured with, as per OAuth spec section 9.1.1.
normalizeRequestUrl() - Method in class oauth.signpost.signature.SignatureBaseString
 

O

OAuth - Class in oauth.signpost
 
OAuth() - Constructor for class oauth.signpost.OAuth
 
OAUTH_CALLBACK - Static variable in class oauth.signpost.OAuth
 
OAUTH_CALLBACK_CONFIRMED - Static variable in class oauth.signpost.OAuth
 
OAUTH_CONSUMER_KEY - Static variable in class oauth.signpost.OAuth
 
OAUTH_NONCE - Static variable in class oauth.signpost.OAuth
 
OAUTH_SIGNATURE - Static variable in class oauth.signpost.OAuth
 
OAUTH_SIGNATURE_METHOD - Static variable in class oauth.signpost.OAuth
 
OAUTH_TIMESTAMP - Static variable in class oauth.signpost.OAuth
 
OAUTH_TOKEN - Static variable in class oauth.signpost.OAuth
 
OAUTH_TOKEN_SECRET - Static variable in class oauth.signpost.OAuth
 
OAUTH_VERIFIER - Static variable in class oauth.signpost.OAuth
 
OAUTH_VERSION - Static variable in class oauth.signpost.OAuth
 
oauth.signpost - package oauth.signpost
 
oauth.signpost.basic - package oauth.signpost.basic
 
oauth.signpost.commonshttp - package oauth.signpost.commonshttp
 
oauth.signpost.exception - package oauth.signpost.exception
 
oauth.signpost.http - package oauth.signpost.http
 
oauth.signpost.signature - package oauth.signpost.signature
 
OAuthCommunicationException - Exception Class in oauth.signpost.exception
 
OAuthCommunicationException(Exception) - Constructor for exception class oauth.signpost.exception.OAuthCommunicationException
 
OAuthCommunicationException(String, String) - Constructor for exception class oauth.signpost.exception.OAuthCommunicationException
 
OAuthConsumer - Interface in oauth.signpost
Exposes a simple interface to sign HTTP requests using a given OAuth token and secret.
OAuthException - Exception Class in oauth.signpost.exception
 
OAuthException(String) - Constructor for exception class oauth.signpost.exception.OAuthException
 
OAuthException(String, Throwable) - Constructor for exception class oauth.signpost.exception.OAuthException
 
OAuthException(Throwable) - Constructor for exception class oauth.signpost.exception.OAuthException
 
OAuthExpectationFailedException - Exception Class in oauth.signpost.exception
 
OAuthExpectationFailedException(String) - Constructor for exception class oauth.signpost.exception.OAuthExpectationFailedException
 
oauthHeaderToParamsMap(String) - Static method in class oauth.signpost.OAuth
 
OAuthMessageSigner - Class in oauth.signpost.signature
 
OAuthMessageSigner() - Constructor for class oauth.signpost.signature.OAuthMessageSigner
 
OAuthMessageSignerException - Exception Class in oauth.signpost.exception
 
OAuthMessageSignerException(Exception) - Constructor for exception class oauth.signpost.exception.OAuthMessageSignerException
 
OAuthMessageSignerException(String) - Constructor for exception class oauth.signpost.exception.OAuthMessageSignerException
 
OAuthNotAuthorizedException - Exception Class in oauth.signpost.exception
 
OAuthNotAuthorizedException() - Constructor for exception class oauth.signpost.exception.OAuthNotAuthorizedException
 
OAuthNotAuthorizedException(String) - Constructor for exception class oauth.signpost.exception.OAuthNotAuthorizedException
 
OAuthProvider - Interface in oauth.signpost
Supplies an interface that can be used to retrieve request and access tokens from an OAuth 1.0(a) service provider.
OAuthProviderListener - Interface in oauth.signpost
Provides hooks into the token request handling procedure executed by OAuthProvider.
onResponseReceived(HttpRequest, HttpResponse) - Method in interface oauth.signpost.OAuthProviderListener
Called when the server response has been received.
OUT_OF_BAND - Static variable in class oauth.signpost.OAuth
Pass this value as the callback "url" upon retrieving a request token if your application cannot receive callbacks (e.g.

P

percentDecode(String) - Static method in class oauth.signpost.OAuth
 
percentEncode(String) - Static method in class oauth.signpost.OAuth
 
percentEncoder - Static variable in class oauth.signpost.OAuth
 
PercentEscaper - Class in com.google.gdata.util.common.base
A UnicodeEscaper that escapes some set of Java characters using the URI percent encoding scheme.
PercentEscaper(String, boolean) - Constructor for class com.google.gdata.util.common.base.PercentEscaper
Constructs a URI escaper with the specified safe characters and optional handling of the space character.
PlainTextMessageSigner - Class in oauth.signpost.signature
 
PlainTextMessageSigner() - Constructor for class oauth.signpost.signature.PlainTextMessageSigner
 
plusForSpace - Variable in class com.google.gdata.util.common.base.PercentEscaper
If true we should convert space to the + character.
Preconditions - Class in com.google.gdata.util.common.base
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
Preconditions() - Constructor for class com.google.gdata.util.common.base.Preconditions
 
prepareOAuthHeader(String...) - Static method in class oauth.signpost.OAuth
Builds an OAuth header from the given list of header fields.
prepareRequest(HttpRequest) - Method in interface oauth.signpost.OAuthProviderListener
Called after the request has been created and default headers added, but before the request has been signed.
prepareSubmission(HttpRequest) - Method in interface oauth.signpost.OAuthProviderListener
Called after the request has been signed, but before it's being sent.
put(String, String) - Method in class oauth.signpost.http.HttpParameters
Convenience method to add a single value for the parameter specified by 'key'.
put(String, String, boolean) - Method in class oauth.signpost.http.HttpParameters
Convenience method to add a single value for the parameter specified by 'key'.
put(String, SortedSet<String>) - Method in class oauth.signpost.http.HttpParameters
 
put(String, SortedSet<String>, boolean) - Method in class oauth.signpost.http.HttpParameters
 
putAll(String[], boolean) - Method in class oauth.signpost.http.HttpParameters
 
putAll(Map<? extends String, ? extends SortedSet<String>>) - Method in class oauth.signpost.http.HttpParameters
 
putAll(Map<? extends String, ? extends SortedSet<String>>, boolean) - Method in class oauth.signpost.http.HttpParameters
 
putMap(Map<String, List<String>>) - Method in class oauth.signpost.http.HttpParameters
Convenience method to merge a Mapinvalid input: '<'String, List>.
putNull(String, String) - Method in class oauth.signpost.http.HttpParameters
Convenience method to allow for storing null values.

Q

QueryStringSigningStrategy - Class in oauth.signpost.signature
Writes to a URL query string.
QueryStringSigningStrategy() - Constructor for class oauth.signpost.signature.QueryStringSigningStrategy
 

R

random - Variable in class oauth.signpost.AbstractOAuthConsumer
 
readObject(ObjectInputStream) - Method in class oauth.signpost.signature.OAuthMessageSigner
 
remove(Object) - Method in class oauth.signpost.http.HttpParameters
 
removeListener(OAuthProviderListener) - Method in class oauth.signpost.AbstractOAuthProvider
 
removeListener(OAuthProviderListener) - Method in interface oauth.signpost.OAuthProvider
 
request - Variable in class oauth.signpost.commonshttp.HttpRequestAdapter
 
request - Variable in class oauth.signpost.signature.SignatureBaseString
 
requestParameters - Variable in class oauth.signpost.AbstractOAuthConsumer
 
requestParameters - Variable in class oauth.signpost.signature.SignatureBaseString
 
requestTokenEndpointUrl - Variable in class oauth.signpost.AbstractOAuthProvider
 
response - Variable in class oauth.signpost.commonshttp.HttpResponseAdapter
 
responseBody - Variable in exception class oauth.signpost.exception.OAuthCommunicationException
 
responseBody - Variable in exception class oauth.signpost.exception.OAuthNotAuthorizedException
 
responseParameters - Variable in class oauth.signpost.AbstractOAuthProvider
 
retrieveAccessToken(OAuthConsumer, String, String...) - Method in class oauth.signpost.AbstractOAuthProvider
 
retrieveAccessToken(OAuthConsumer, String, String...) - Method in interface oauth.signpost.OAuthProvider
Queries the service provider for an access token.
retrieveRequestToken(OAuthConsumer, String, String...) - Method in class oauth.signpost.AbstractOAuthProvider
 
retrieveRequestToken(OAuthConsumer, String, String...) - Method in interface oauth.signpost.OAuthProvider
Queries the service provider for a request token.
retrieveToken(OAuthConsumer, String, HttpParameters) - Method in class oauth.signpost.AbstractOAuthProvider
Implemented by subclasses.

S

SAFECHARS_URLENCODER - Static variable in class com.google.gdata.util.common.base.PercentEscaper
A string of safe characters that mimics the behavior of URLEncoder.
safeOctets - Variable in class com.google.gdata.util.common.base.PercentEscaper
An array of flags where for any char c if safeOctets[c] is true then c should remain unmodified in the output.
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
 
sendEmptyTokens - Variable in class oauth.signpost.AbstractOAuthConsumer
 
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
 
serialVersionUID - Static variable in class oauth.signpost.AbstractOAuthConsumer
 
serialVersionUID - Static variable in class oauth.signpost.AbstractOAuthProvider
 
serialVersionUID - Static variable in class oauth.signpost.basic.DefaultOAuthConsumer
 
serialVersionUID - Static variable in class oauth.signpost.basic.DefaultOAuthProvider
 
serialVersionUID - Static variable in class oauth.signpost.commonshttp.CommonsHttpOAuthConsumer
 
serialVersionUID - Static variable in class oauth.signpost.commonshttp.CommonsHttpOAuthProvider
 
serialVersionUID - Static variable in class oauth.signpost.signature.AuthorizationHeaderSigningStrategy
 
serialVersionUID - Static variable in class oauth.signpost.signature.OAuthMessageSigner
 
serialVersionUID - Static variable in class oauth.signpost.signature.QueryStringSigningStrategy
 
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(Object) - Method in class oauth.signpost.AbstractOAuthConsumer
 
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 class oauth.signpost.AbstractOAuthConsumer
 
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) - 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(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 - Variable in class oauth.signpost.AbstractOAuthConsumer
 
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
 

T

toHeaderElement(String, String) - Static method in class oauth.signpost.OAuth
Helper method to concatenate a parameter and its value to a pair that can be used in an HTTP header.
token - Variable in class oauth.signpost.AbstractOAuthConsumer
 
tokenSecret - Variable in class oauth.signpost.signature.OAuthMessageSigner
 
toMap(Collection<T>) - Static method in class oauth.signpost.OAuth
Construct a Map containing a copy of the given parameters.

U

UnicodeEscaper - Class in com.google.gdata.util.common.base
An Escaper that converts literal text into a format safe for inclusion in a particular context (such as an XML document).
UnicodeEscaper() - Constructor for class com.google.gdata.util.common.base.UnicodeEscaper
 
unwrap() - Method in class oauth.signpost.basic.HttpURLConnectionRequestAdapter
 
unwrap() - Method in class oauth.signpost.basic.HttpURLConnectionResponseAdapter
 
unwrap() - Method in class oauth.signpost.basic.UrlStringRequestAdapter
 
unwrap() - Method in class oauth.signpost.commonshttp.HttpRequestAdapter
 
unwrap() - Method in class oauth.signpost.commonshttp.HttpResponseAdapter
 
unwrap() - Method in interface oauth.signpost.http.HttpRequest
Returns the wrapped request object, in case you must work directly on it.
unwrap() - Method in interface oauth.signpost.http.HttpResponse
Returns the underlying response object, in case you need to work on it directly.
UPPER_HEX_DIGITS - Static variable in class com.google.gdata.util.common.base.PercentEscaper
 
URI_ESCAPED_SPACE - Static variable in class com.google.gdata.util.common.base.PercentEscaper
 
url - Variable in class oauth.signpost.basic.UrlStringRequestAdapter
 
UrlStringRequestAdapter - Class in oauth.signpost.basic
 
UrlStringRequestAdapter(String) - Constructor for class oauth.signpost.basic.UrlStringRequestAdapter
 

V

values() - Method in class oauth.signpost.http.HttpParameters
 
VERSION_1_0 - Static variable in class oauth.signpost.OAuth
 

W

wrap(Object) - Method in class oauth.signpost.AbstractOAuthConsumer
Adapts the given request object to a Signpost HttpRequest.
wrap(Object) - Method in class oauth.signpost.basic.DefaultOAuthConsumer
 
wrap(Object) - Method in class oauth.signpost.commonshttp.CommonsHttpOAuthConsumer
 
wrappedMap - Variable in class oauth.signpost.http.HttpParameters
 
writeSignature(String, HttpRequest, HttpParameters) - Method in class oauth.signpost.signature.AuthorizationHeaderSigningStrategy
 
writeSignature(String, HttpRequest, HttpParameters) - Method in class oauth.signpost.signature.QueryStringSigningStrategy
 
writeSignature(String, HttpRequest, HttpParameters) - Method in interface oauth.signpost.signature.SigningStrategy
Writes an OAuth signature and all remaining required parameters to an HTTP message.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form