Skip navigation links
A B C D E F G H I L M N O P R S T U V X _ 

A

ACCEPT_ENCODING - Static variable in class net.oauth.client.OAuthClient
Deprecated.
ACCEPT_ENCODING - Static variable in class net.oauth.http.HttpMessage
 
ACCEPT_ENCODING - Static variable in class net.oauth.OAuthConsumer
The name of the property whose value is the Accept-Encoding header in HTTP requests.
ACCEPTED - Static variable in class net.oauth.http.HttpMessageDecoder
 
access(OAuthMessage, ParameterStyle) - Method in class net.oauth.client.OAuthClient
Send a request and return the response.
ACCESSOR_SECRET - Static variable in class net.oauth.OAuthConsumer
The name of the property whose value is the Accessor Secret.
accessToken - Variable in class net.oauth.OAuthAccessor
 
accessTokenURL - Variable in class net.oauth.OAuthServiceProvider
 
ADDITIONAL_AUTHORIZATION_REQUIRED - Static variable in class net.oauth.OAuth.Problems
 
addParameter(String, String) - Method in class net.oauth.OAuthMessage
 
addParameter(Map.Entry<String, String>) - Method in class net.oauth.OAuthMessage
 
addParameters(String, String...) - Static method in class net.oauth.OAuth
Construct a URL like the given one, but with the given parameters added to its query string.
addParameters(String, Iterable<? extends Map.Entry<String, String>>) - Static method in class net.oauth.OAuth
 
addParameters(Collection<? extends Map.Entry<String, String>>) - Method in class net.oauth.OAuthMessage
 
addRequiredParameters(OAuthAccessor) - Method in class net.oauth.OAuthMessage
Add some of the parameters needed to request access to a protected resource, if they aren't already in the message.
AUTH_SCHEME - Static variable in class net.oauth.OAuthMessage
 

B

base64Encode(byte[]) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
body - Variable in class net.oauth.http.HttpMessage
 

C

callbackURL - Variable in class net.oauth.OAuthConsumer
 
CERTIFICATE_X509_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
checkSingleParameters(OAuthMessage) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if any SINGLE_PARAMETERS occur repeatedly.
clone() - Method in class net.oauth.OAuthAccessor
 
completeParameters() - Method in class net.oauth.client.OAuthResponseMessage
 
completeParameters() - Method in class net.oauth.OAuthMessage
Finish adding parameters; for example read an HTTP response body and parse parameters from it.
CONNECT_TIMEOUT - Static variable in interface net.oauth.http.HttpClient
The name of the parameter that is the maximum time to wait to connect to the server.
consumer - Variable in class net.oauth.OAuthAccessor
 
CONSUMER_KEY_REFUSED - Static variable in class net.oauth.OAuth.Problems
 
CONSUMER_KEY_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
CONSUMER_KEY_UNKNOWN - Static variable in class net.oauth.OAuth.Problems
 
consumerKey - Variable in class net.oauth.OAuthConsumer
 
ConsumerProperties - Class in net.oauth
A pool of OAuthConsumers that are constructed from Properties.
ConsumerProperties(String, ClassLoader) - Constructor for class net.oauth.ConsumerProperties
 
ConsumerProperties(Properties) - Constructor for class net.oauth.ConsumerProperties
 
consumerSecret - Variable in class net.oauth.OAuthConsumer
 
CONTENT_ENCODING - Static variable in class net.oauth.http.HttpMessage
 
CONTENT_LENGTH - Static variable in class net.oauth.client.OAuthClient
 
CONTENT_LENGTH - Static variable in class net.oauth.http.HttpMessage
 
CONTENT_TYPE - Static variable in class net.oauth.http.HttpMessage
 
currentTimeMsec() - Method in class net.oauth.SimpleOAuthValidator
Get the number of milliseconds since midnight, January 1, 1970 UTC.

D

decode(HttpResponseMessage) - Static method in class net.oauth.http.HttpMessageDecoder
Decode the given message if necessary and possible.
decodeAuthorization(String) - Static method in class net.oauth.OAuthMessage
Parse the parameters from an OAuth Authorization or WWW-Authenticate header.
decodeBase64(String) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
decodeCharacters(byte[]) - Static method in class net.oauth.OAuth
 
decodeForm(String) - Static method in class net.oauth.OAuth
Parse a form-urlencoded document.
decodePercent(String) - Static method in class net.oauth.OAuth
 
DEFAULT_CHARSET - Static variable in class net.oauth.http.HttpMessage
 
DEFAULT_MAX_TIMESTAMP_AGE - Static variable in class net.oauth.SimpleOAuthValidator
The default maximum age of timestamps is 5 minutes.
DEFAULT_REALM - Static variable in class net.oauth.client.httpclient4.OAuthSchemeFactory
The name of an HttpClient param whose value is the realm to send in Authorization headers, if no realm was previously received in a WWW-Authenticate challenge.
DEFAULT_TIMESTAMP_WINDOW - Static variable in class net.oauth.SimpleOAuthValidator
 
DEFLATE - Static variable in class net.oauth.http.HttpMessageDecoder
 
DELETE - Static variable in class net.oauth.client.OAuthClient
 
DELETE - Static variable in interface net.oauth.http.HttpClient
 
DELETE - Static variable in class net.oauth.OAuthMessage
 
dump(Map<String, Object>) - Method in class net.oauth.client.httpclient3.HttpMethodResponse
Return a complete description of the HTTP exchange.
dump(Map<String, Object>) - Method in class net.oauth.client.httpclient4.HttpMethodResponse
Return a complete description of the HTTP exchange.
dump(Map<String, Object>) - Method in class net.oauth.client.OAuthResponseMessage
 
dump(Map<String, Object>) - Method in class net.oauth.client.URLConnectionResponse
Return a complete description of the HTTP exchange.
dump(Map<String, Object>) - Method in class net.oauth.http.HttpMessage
Put a description of this message and its origins into the given Map.
dump(Map<String, Object>) - Method in class net.oauth.http.HttpMessageDecoder
 
dump(Map<String, Object>) - Method in class net.oauth.http.HttpResponseMessage
 
dump(Map<String, Object>) - Method in class net.oauth.OAuthMessage
 

E

ELLIPSIS - Static variable in class net.oauth.client.ExcerptInputStream
A marker that's appended to the excerpt if it's less than the complete stream.
encodeCharacters(String) - Static method in class net.oauth.OAuth
 
ENCODING - Static variable in class net.oauth.OAuth
The encoding used to represent characters as bytes.
EOL - Static variable in class net.oauth.http.HttpResponseMessage
The standard end-of-line marker in an HTTP message.
equals(Object) - Method in class net.oauth.OAuth.Parameter
 
equals(Object) - Method in class net.oauth.OAuthServiceProvider
 
equals(String, String) - Static method in class net.oauth.signature.OAuthSignatureMethod
Determine whether the given strings contain the same sequence of characters.
equals(byte[], byte[]) - Static method in class net.oauth.signature.OAuthSignatureMethod
Determine whether the given arrays contain the same sequence of bytes.
ExcerptInputStream - Class in net.oauth.client
A decorator that retains a copy of the first few bytes of data.
ExcerptInputStream(InputStream) - Constructor for class net.oauth.client.ExcerptInputStream
 
execute(HttpMessage, Map<String, Object>) - Method in class net.oauth.client.httpclient3.HttpClient3
 
execute(HttpMessage, Map<String, Object>) - Method in class net.oauth.client.httpclient4.HttpClient4
 
execute(HttpMessage, Map<String, Object>) - Method in class net.oauth.client.URLConnectionClient
Send a message to the service provider and get the response.
execute(HttpMessage, Map<String, Object>) - Method in interface net.oauth.http.HttpClient
Send an HTTP request and return the response.

F

FOLLOW_REDIRECTS - Static variable in interface net.oauth.http.HttpClient
The name of the parameter to automatically follow redirects.
FORM_ENCODED - Static variable in class net.oauth.OAuth
The MIME type for a sequence of OAuth parameters.
formEncode(Iterable<? extends Map.Entry>) - Static method in class net.oauth.OAuth
Construct a form-urlencoded document containing the given sequence of name/value pairs.
formEncode(Iterable<? extends Map.Entry>, OutputStream) - Static method in class net.oauth.OAuth
Write a form-urlencoded document into the given stream, containing the given sequence of name/value pairs.

G

GET - Static variable in interface net.oauth.http.HttpClient
 
GET - Static variable in class net.oauth.OAuthMessage
 
getAccessor() - Method in class net.oauth.client.httpclient4.OAuthCredentials
 
getAccessToken(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Get an access token from the service provider, in exchange for an authorized request token.
getAuthorizationHeader(String) - Method in class net.oauth.OAuthMessage
Construct a WWW-Authenticate or Authentication header value, containing the given realm plus all the parameters whose names begin with "oauth_".
getBaseString(OAuthMessage) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
getBeginMarker() - Method in class net.oauth.signature.pem.PEMReader
 
getBody() - Method in class net.oauth.http.HttpMessage
 
getBodyAsStream() - Method in class net.oauth.client.OAuthResponseMessage
 
getBodyAsStream() - Method in class net.oauth.OAuthMessage
Get a stream from which to read the body of the HTTP request or response.
getBodyAsStream() - Method in class net.oauth.server.HttpRequestMessage
 
getBodyEncoding() - Method in class net.oauth.client.OAuthResponseMessage
 
getBodyEncoding() - Method in class net.oauth.OAuthMessage
The character encoding of the body of this message.
getBodyEncoding() - Method in class net.oauth.server.HttpRequestMessage
 
getBodyType() - Method in class net.oauth.OAuthMessage
The MIME type of the body of this message.
getConsumer(String) - Method in class net.oauth.ConsumerProperties
Get the consumer with the given name.
getConsumerKey() - Method in class net.oauth.OAuthMessage
 
getConsumerSecret() - Method in class net.oauth.signature.OAuthSignatureMethod
 
getContentCharset() - Method in class net.oauth.http.HttpMessage
 
getDerBytes() - Method in class net.oauth.signature.pem.PEMReader
 
getDump() - Method in class net.oauth.OAuthMessage
Construct a verbose description of this message and its origins.
getExcerpt() - Method in class net.oauth.client.ExcerptInputStream
The first few bytes of data, plus ELLIPSIS if there are more bytes.
getHeader(String) - Method in class net.oauth.http.HttpMessage
Get the value of the last header of the given name.
getHeader(String) - Method in class net.oauth.OAuthMessage
The value of the last HTTP header with the given name.
getHeaderField(URLConnection, int) - Method in class net.oauth.client.URLConnectionResponse
 
getHeaderFieldKey(URLConnection, int) - Method in class net.oauth.client.URLConnectionResponse
 
getHeaders() - Method in class net.oauth.OAuthMessage
All HTTP headers.
getHttpClient(URL) - Method in interface net.oauth.client.httpclient3.HttpClientPool
Get the appropriate HttpClient for sending a request to the given URL.
getHttpClient(URL) - Method in interface net.oauth.client.httpclient4.HttpClientPool
Get the appropriate HttpClient for sending a request to the given URL.
getHttpClient() - Method in class net.oauth.client.OAuthClient
 
getHttpParameters() - Method in class net.oauth.client.OAuthClient
HTTP client parameters, as a map from parameter name to value.
getHttpResponse() - Method in class net.oauth.client.OAuthResponseMessage
 
getHttpStatusCode() - Method in exception net.oauth.OAuthProblemException
 
getKey() - Method in class net.oauth.OAuth.Parameter
 
getKeySpec() - Method in class net.oauth.signature.pem.PKCS1EncodedKeySpec
Get the key spec that JCE understands.
getMessage() - Method in exception net.oauth.OAuthProblemException
 
getMessage(HttpServletRequest, String) - Static method in class net.oauth.server.OAuthServlet
Extract the parts of the given request that are relevant to OAuth.
getParameter(String) - Method in class net.oauth.OAuthMessage
 
getParameterMap() - Method in class net.oauth.OAuthMessage
 
getParameters() - Method in class net.oauth.OAuthMessage
 
getParameters() - Method in exception net.oauth.OAuthProblemException
 
getParameters(HttpServletRequest) - Static method in class net.oauth.server.HttpRequestMessage
 
getPassword() - Method in class net.oauth.client.httpclient4.OAuthCredentials
Get the current consumer secret, to be used as a password.
getProblem() - Method in exception net.oauth.OAuthProblemException
 
getProperties(URL) - Static method in class net.oauth.ConsumerProperties
 
getProperty(String) - Method in class net.oauth.OAuthAccessor
 
getProperty(String) - Method in class net.oauth.OAuthConsumer
 
getRequestToken(OAuthAccessor) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestToken(OAuthAccessor, String) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestToken(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestTokenResponse(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Get a fresh request token from the service provider.
getRequestURL(HttpServletRequest) - Static method in class net.oauth.server.OAuthServlet
Reconstruct the requested URL, complete with query string (if any).
getResource(String, ClassLoader) - Static method in class net.oauth.ConsumerProperties
 
getSignature() - Method in class net.oauth.OAuthMessage
 
getSignature(OAuthMessage) - Method in class net.oauth.signature.OAuthSignatureMethod
 
getSignature(String) - Method in class net.oauth.signature.OAuthSignatureMethod
Compute the signature for the given base string.
getSignature(String) - Method in class net.oauth.signature.RSA_SHA1
 
getSignatureMethod() - Method in class net.oauth.OAuthMessage
 
getStatusCode() - Method in class net.oauth.client.httpclient3.HttpMethodResponse
 
getStatusCode() - Method in class net.oauth.client.httpclient4.HttpMethodResponse
 
getStatusCode() - Method in class net.oauth.client.URLConnectionResponse
 
getStatusCode() - Method in class net.oauth.http.HttpMessageDecoder
 
getStatusCode() - Method in class net.oauth.http.HttpResponseMessage
 
getToken() - Method in class net.oauth.OAuthMessage
 
getTokenSecret() - Method in class net.oauth.signature.OAuthSignatureMethod
 
getUserName() - Method in class net.oauth.client.httpclient4.OAuthCredentials
Get the current consumer key, to be used as a password.
getValue() - Method in class net.oauth.OAuth.Parameter
 
GZIP - Static variable in class net.oauth.http.HttpMessageDecoder
 

H

handleException(HttpServletResponse, Exception, String) - Static method in class net.oauth.server.OAuthServlet
 
handleException(HttpServletResponse, Exception, String, boolean) - Static method in class net.oauth.server.OAuthServlet
 
hashCode() - Method in class net.oauth.OAuth.Parameter
 
hashCode() - Method in class net.oauth.OAuthServiceProvider
 
headers - Variable in class net.oauth.http.HttpMessage
 
HMAC_SHA1 - Static variable in class net.oauth.OAuth
 
htmlEncode(String) - Static method in class net.oauth.server.OAuthServlet
Return the HTML representation of the given plain text.
HTTP_LOCATION - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the response Location header.
HTTP_REQUEST - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the HTTP request.
HTTP_RESPONSE - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the HTTP response.
HTTP_STATUS_CODE - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the HTTP resopnse status code.
HttpClient - Interface in net.oauth.http
An HTTP client, which can send an HTTP request and receive the response.
HttpClient3 - Class in net.oauth.client.httpclient3
Utility methods for an OAuth client based on the Jakarta Commons HTTP client.
HttpClient3() - Constructor for class net.oauth.client.httpclient3.HttpClient3
 
HttpClient3(HttpClientPool) - Constructor for class net.oauth.client.httpclient3.HttpClient3
 
HttpClient4 - Class in net.oauth.client.httpclient4
Utility methods for an OAuth client based on the Apache HttpClient.
HttpClient4() - Constructor for class net.oauth.client.httpclient4.HttpClient4
 
HttpClient4(HttpClientPool) - Constructor for class net.oauth.client.httpclient4.HttpClient4
 
HttpClientPool - Interface in net.oauth.client.httpclient3
A source of Jakarta Commons HttpClient objects.
HttpClientPool - Interface in net.oauth.client.httpclient4
A source of Apache HttpClient 4 objects.
HttpMessage - Class in net.oauth.http
An HTTP request or response.
HttpMessage() - Constructor for class net.oauth.http.HttpMessage
 
HttpMessage(String, URL) - Constructor for class net.oauth.http.HttpMessage
 
HttpMessage(String, URL, InputStream) - Constructor for class net.oauth.http.HttpMessage
 
HttpMessageDecoder - Class in net.oauth.http
A decorator that handles Content-Encoding.
HttpMethodResponse - Class in net.oauth.client.httpclient3
The response part of an HttpMethod, encapsulated as an HttpMessage.
HttpMethodResponse(HttpMethod, byte[], String) - Constructor for class net.oauth.client.httpclient3.HttpMethodResponse
Construct an OAuthMessage from the HTTP response, including parameters from OAuth WWW-Authenticate headers and the body.
HttpMethodResponse - Class in net.oauth.client.httpclient4
An HttpResponse, encapsulated as an HttpMessage.
HttpMethodResponse(HttpRequestBase, HttpResponse, byte[], String) - Constructor for class net.oauth.client.httpclient4.HttpMethodResponse
Construct an OAuthMessage from the HTTP response, including parameters from OAuth WWW-Authenticate headers and the body.
httpParameters - Variable in class net.oauth.client.OAuthClient
 
HttpRequestMessage - Class in net.oauth.server
An HttpServletRequest, encapsulated as an OAuthMessage.
HttpRequestMessage(HttpServletRequest, String) - Constructor for class net.oauth.server.HttpRequestMessage
 
HttpResponseMessage - Class in net.oauth.http
An HTTP response.
HttpResponseMessage(String, URL) - Constructor for class net.oauth.http.HttpResponseMessage
 

I

initialize(String, OAuthAccessor) - Method in class net.oauth.signature.OAuthSignatureMethod
 
initialize(String, OAuthAccessor) - Method in class net.oauth.signature.RSA_SHA1
 
invoke(OAuthAccessor, String, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Construct a request message, send it to the service provider and get the response.
invoke(OAuthAccessor, String, Collection<? extends Map.Entry>) - Method in class net.oauth.client.OAuthClient
Construct a request message, send it to the service provider and get the response.
invoke(OAuthMessage, ParameterStyle) - Method in class net.oauth.client.OAuthClient
Send a request message to the service provider and get the response.
isEmpty(String) - Static method in class net.oauth.OAuth
 
isFormEncoded(String) - Static method in class net.oauth.OAuth
Return true if the given Content-Type header means FORM_ENCODED.
isValid(String, String) - Method in class net.oauth.signature.OAuthSignatureMethod
Decide whether the signature is valid.
isValid(String, String) - Method in class net.oauth.signature.RSA_SHA1
 

L

LOCATION - Static variable in class net.oauth.http.HttpResponseMessage
The name of a dump entry whose value is the response Location header.

M

maxTimestampAgeMsec - Variable in class net.oauth.SimpleOAuthValidator
 
maxVersion - Variable in class net.oauth.SimpleOAuthValidator
 
method - Variable in class net.oauth.http.HttpMessage
 
method - Variable in class net.oauth.OAuthMessage
 
minVersion - Variable in class net.oauth.SimpleOAuthValidator
 

N

net.oauth - package net.oauth
Fundamental classes and algorithms for implementing OAuth.
net.oauth.client - package net.oauth.client
Classes for implementing an OAuth Consumer; that is a client that requests access to protected resources.
net.oauth.client.httpclient3 - package net.oauth.client.httpclient3
Classes that integrate the Apache Commons HTTP Client version 3 with the OAuth library.
net.oauth.client.httpclient4 - package net.oauth.client.httpclient4
Classes that integrate the Apache Commons HTTP Client version 4 with the OAuth library.
net.oauth.http - package net.oauth.http
Classes that integrate OAuth with HTTP.
net.oauth.server - package net.oauth.server
Classes for implementing an OAuth Service Provider; that is a server that controls access to protected resources.
net.oauth.signature - package net.oauth.signature
Classes to compute and verify digital signatures.
net.oauth.signature.pem - package net.oauth.signature.pem
Classes to handle cryptographic data in PEM formats.
newConsumer(String) - Method in class net.oauth.ConsumerProperties
 
newInstance(HttpParams) - Method in class net.oauth.client.httpclient4.OAuthSchemeFactory
 
newList(String...) - Static method in class net.oauth.OAuth
Construct a list of Parameters from name, value, name, value...
newMap(Iterable<? extends Map.Entry>) - Static method in class net.oauth.OAuth
Construct a Map containing a copy of the given parameters.
newMethod(String, OAuthAccessor) - Static method in class net.oauth.signature.OAuthSignatureMethod
The factory for signature methods.
newRequest(OAuthMessage, ParameterStyle) - Static method in class net.oauth.http.HttpMessage
Construct an HTTP request from this OAuth message.
newRequestMessage(String, String, Collection<? extends Map.Entry>, InputStream) - Method in class net.oauth.OAuthAccessor
Construct a request message containing the given parameters but no body.
newRequestMessage(String, String, Collection<? extends Map.Entry>) - Method in class net.oauth.OAuthAccessor
 
newSigner(OAuthMessage, OAuthAccessor) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
NONCE_USED - Static variable in class net.oauth.OAuth.Problems
 
normalizeParameters(Collection<? extends Map.Entry>) - Static method in class net.oauth.signature.OAuthSignatureMethod
 
normalizeUrl(String) - Static method in class net.oauth.signature.OAuthSignatureMethod
 

O

OAuth - Class in net.oauth
Miscellaneous constants, methods and types.
OAuth() - Constructor for class net.oauth.OAuth
 
OAuth.Parameter - Class in net.oauth
A name/value pair.
OAuth.Problems - Class in net.oauth
Strings used for problem reporting.
OAUTH_ACCEPTABLE_TIMESTAMPS - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_ACCEPTABLE_VERSIONS - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_CALLBACK - Static variable in class net.oauth.OAuth
 
OAUTH_CALLBACK_CONFIRMED - Static variable in class net.oauth.OAuth
 
OAUTH_CONSUMER_KEY - Static variable in class net.oauth.OAuth
 
OAUTH_NONCE - Static variable in class net.oauth.OAuth
 
OAUTH_PARAMETERS_ABSENT - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_PARAMETERS_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_PROBLEM - Static variable in exception net.oauth.OAuthProblemException
 
OAUTH_PROBLEM_ADVICE - Static variable in class net.oauth.OAuth.Problems
 
OAUTH_SIGNATURE - Static variable in class net.oauth.OAuth
 
OAUTH_SIGNATURE_METHOD - Static variable in class net.oauth.OAuth
 
OAUTH_TIMESTAMP - Static variable in class net.oauth.OAuth
 
OAUTH_TOKEN - Static variable in class net.oauth.OAuth
 
OAUTH_TOKEN_SECRET - Static variable in class net.oauth.OAuth
 
OAUTH_VERIFIER - Static variable in class net.oauth.OAuth
 
OAUTH_VERSION - Static variable in class net.oauth.OAuth
 
OAuthAccessor - Class in net.oauth
Properties of one User of an OAuthConsumer.
OAuthAccessor(OAuthConsumer) - Constructor for class net.oauth.OAuthAccessor
 
OAuthClient - Class in net.oauth.client
Methods for an OAuth consumer to request tokens from a service provider.
OAuthClient(HttpClient) - Constructor for class net.oauth.client.OAuthClient
 
OAuthConsumer - Class in net.oauth
Properties of an OAuth Consumer.
OAuthConsumer(String, String, String, OAuthServiceProvider) - Constructor for class net.oauth.OAuthConsumer
 
OAuthCredentials - Class in net.oauth.client.httpclient4
An OAuthAccessor, to be used as credentials for an AuthScheme based on OAuth.
OAuthCredentials(OAuthAccessor) - Constructor for class net.oauth.client.httpclient4.OAuthCredentials
 
OAuthCredentials(String, String) - Constructor for class net.oauth.client.httpclient4.OAuthCredentials
Constructs a simple accessor, containing only a consumer key and secret.
OAuthException - Exception in net.oauth
An exception thrown by the OAuth library.
OAuthException() - Constructor for exception net.oauth.OAuthException
For subclasses only.
OAuthException(String) - Constructor for exception net.oauth.OAuthException
 
OAuthException(Throwable) - Constructor for exception net.oauth.OAuthException
 
OAuthException(String, Throwable) - Constructor for exception net.oauth.OAuthException
 
OAuthMessage - Class in net.oauth
A request or response message used in the OAuth protocol.
OAuthMessage(String, String, Collection<? extends Map.Entry>) - Constructor for class net.oauth.OAuthMessage
 
OAuthMessage(String, String, Collection<? extends Map.Entry>, InputStream) - Constructor for class net.oauth.OAuthMessage
 
OAuthProblemException - Exception in net.oauth
An OAuth-related problem, described using a set of named parameters.
OAuthProblemException() - Constructor for exception net.oauth.OAuthProblemException
 
OAuthProblemException(String) - Constructor for exception net.oauth.OAuthProblemException
 
OAuthResponseMessage - Class in net.oauth.client
An HTTP response, encapsulated as an OAuthMessage.
OAuthSchemeFactory - Class in net.oauth.client.httpclient4
An implementation of the OAuth HTTP authorization scheme.
OAuthSchemeFactory() - Constructor for class net.oauth.client.httpclient4.OAuthSchemeFactory
 
OAuthServiceProvider - Class in net.oauth
Properties of an OAuth Service Provider.
OAuthServiceProvider(String, String, String) - Constructor for class net.oauth.OAuthServiceProvider
 
OAuthServlet - Class in net.oauth.server
Utility methods for servlets that implement OAuth.
OAuthServlet() - Constructor for class net.oauth.server.OAuthServlet
 
OAuthSignatureMethod - Class in net.oauth.signature
A pair of algorithms for computing and verifying an OAuth digital signature.
OAuthSignatureMethod() - Constructor for class net.oauth.signature.OAuthSignatureMethod
 
OAuthValidator - Interface in net.oauth
An algorithm to determine whether a message has a valid signature, a correct version number, a fresh timestamp, etc.
openBody() - Method in class net.oauth.client.httpclient3.HttpMethodResponse
 
openBody() - Method in class net.oauth.client.httpclient4.HttpMethodResponse
 
openBody() - Method in class net.oauth.client.URLConnectionResponse
 
openBody() - Method in class net.oauth.http.HttpMessage
 

P

Parameter(String, String) - Constructor for class net.oauth.OAuth.Parameter
 
PARAMETER_ABSENT - Static variable in class net.oauth.OAuth.Problems
 
PARAMETER_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
PARAMETER_STYLE - Static variable in class net.oauth.client.OAuthClient
The name of the OAuthConsumer property whose value is the ParameterStyle to be used by invoke.
ParameterStyle - Enum in net.oauth
Where to place OAuth parameters in an HTTP message.
PEMReader - Class in net.oauth.signature.pem
This class convert PEM into byte array.
PEMReader(InputStream) - Constructor for class net.oauth.signature.pem.PEMReader
 
PEMReader(byte[]) - Constructor for class net.oauth.signature.pem.PEMReader
 
PEMReader(String) - Constructor for class net.oauth.signature.pem.PEMReader
 
percentEncode(Iterable) - Static method in class net.oauth.OAuth
Construct a &-separated list of the given values, percentEncoded.
percentEncode(String) - Static method in class net.oauth.OAuth
 
PERMISSION_DENIED - Static variable in class net.oauth.OAuth.Problems
 
PERMISSION_UNKNOWN - Static variable in class net.oauth.OAuth.Problems
 
PKCS1EncodedKeySpec - Class in net.oauth.signature.pem
PKCS#1 encoded private key is commonly used with OpenSSL.
PKCS1EncodedKeySpec(byte[]) - Constructor for class net.oauth.signature.pem.PKCS1EncodedKeySpec
Create a PKCS#1 keyspec from DER encoded buffer
POST - Static variable in class net.oauth.client.OAuthClient
 
POST - Static variable in interface net.oauth.http.HttpClient
 
POST - Static variable in class net.oauth.OAuthMessage
 
PreemptiveAuthorizer - Class in net.oauth.client.httpclient4
An interceptor that initiates authorization without waiting for a challenge from the server.
PreemptiveAuthorizer() - Constructor for class net.oauth.client.httpclient4.PreemptiveAuthorizer
 
PRIVATE_KEY - Static variable in class net.oauth.signature.RSA_SHA1
 
PRIVATE_PKCS1_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
PRIVATE_PKCS8_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
Problems() - Constructor for class net.oauth.OAuth.Problems
 
process(HttpRequest, HttpContext) - Method in class net.oauth.client.httpclient4.PreemptiveAuthorizer
If no auth scheme has been selected for the given context, consider each of the preferred auth schemes and select the first one for which an AuthScheme and matching Credentials are available.
PUBLIC_KEY - Static variable in class net.oauth.signature.RSA_SHA1
 
PUBLIC_X509_MARKER - Static variable in class net.oauth.signature.pem.PEMReader
 
PUT - Static variable in class net.oauth.client.OAuthClient
 
PUT - Static variable in interface net.oauth.http.HttpClient
 
PUT - Static variable in class net.oauth.OAuthMessage
 

R

READ_TIMEOUT - Static variable in interface net.oauth.http.HttpClient
The name of the parameter that is the maximum time to wait for response data.
readAll(InputStream, String) - Static method in class net.oauth.OAuthMessage
Read all the data from the given stream, and close it.
readBodyAsString() - Method in class net.oauth.OAuthMessage
Read the body of the HTTP request or response and convert it to a String.
readFile() - Method in class net.oauth.signature.pem.PEMReader
Read the PEM file and save the DER encoded octet stream and begin marker.
registerMethodClass(String, Class) - Static method in class net.oauth.signature.OAuthSignatureMethod
Subsequently, newMethod(name) will attempt to instantiate the given class, with no constructor parameters.
releaseGarbage() - Method in class net.oauth.SimpleOAuthValidator
Allow objects that are no longer useful to become garbage.
removeHeaders(String) - Method in class net.oauth.http.HttpMessage
Remove all headers of the given name.
REQUEST - Static variable in class net.oauth.http.HttpMessage
The name of a dump entry whose value is the HTTP request.
requestToken - Variable in class net.oauth.OAuthAccessor
 
requestTokenURL - Variable in class net.oauth.OAuthServiceProvider
 
requireParameters(String...) - Method in class net.oauth.client.OAuthResponseMessage
 
requireParameters(String...) - Method in class net.oauth.OAuthMessage
Verify that the required parameter names are contained in the actual collection.
RESPONSE - Static variable in class net.oauth.http.HttpMessage
The name of a dump entry whose value is the HTTP response.
RSA_SHA1 - Static variable in class net.oauth.OAuth
 
RSA_SHA1 - Class in net.oauth.signature
The RSA-SHA1 signature method.
RSA_SHA1() - Constructor for class net.oauth.signature.RSA_SHA1
 

S

SCHEME_NAME - Static variable in class net.oauth.client.httpclient4.OAuthSchemeFactory
The name of this authorization scheme.
sendForm(HttpServletResponse, Iterable<? extends Map.Entry>) - Static method in class net.oauth.server.OAuthServlet
Send the given parameters as a form-encoded response body.
serviceProvider - Variable in class net.oauth.OAuthConsumer
 
setCharacterEncoding(String) - Static method in class net.oauth.OAuth
 
setConsumerSecret(String) - Method in class net.oauth.signature.OAuthSignatureMethod
 
setHttpClient(HttpClient) - Method in class net.oauth.client.OAuthClient
 
setParameter(String, Object) - Method in exception net.oauth.OAuthProblemException
 
setProperty(String, Object) - Method in class net.oauth.OAuthAccessor
 
setProperty(String, Object) - Method in class net.oauth.OAuthConsumer
 
setTokenSecret(String) - Method in class net.oauth.signature.OAuthSignatureMethod
 
setValue(String) - Method in class net.oauth.OAuth.Parameter
 
sign(OAuthAccessor) - Method in class net.oauth.OAuthMessage
Add a signature to the message.
sign(OAuthMessage) - Method in class net.oauth.signature.OAuthSignatureMethod
Add a signature to the message.
SIGNATURE_BASE_STRING - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the OAuth signature base string.
SIGNATURE_INVALID - Static variable in class net.oauth.OAuth.Problems
 
SIGNATURE_METHOD_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
SimpleOAuthValidator - Class in net.oauth
A simple OAuthValidator, which checks the version, whether the timestamp is close to now, the nonce hasn't been used before and the signature is valid.
SimpleOAuthValidator() - Constructor for class net.oauth.SimpleOAuthValidator
Construct a validator that rejects messages more than five minutes old or with a OAuth version other than 1.0.
SimpleOAuthValidator(long, double) - Constructor for class net.oauth.SimpleOAuthValidator
Public constructor.
SINGLE_PARAMETERS - Static variable in class net.oauth.SimpleOAuthValidator
Names of parameters that may not appear twice in a valid message.
STATUS_CODE - Static variable in class net.oauth.http.HttpMessage
The name of a dump entry whose value is the HTTP status code.
STATUS_CODE - Static variable in class net.oauth.http.HttpResponseMessage
The name of a dump entry whose value is the HTTP status code.
STATUS_OK - Static variable in class net.oauth.http.HttpResponseMessage
The statusCode that indicates a normal outcome.

T

TIMESTAMP_REFUSED - Static variable in class net.oauth.OAuth.Problems
 
TO_HTTP_CODE - Static variable in class net.oauth.OAuth.Problems
A map from an oauth_problem value to the appropriate HTTP response code.
TOKEN_EXPIRED - Static variable in class net.oauth.OAuth.Problems
 
TOKEN_REJECTED - Static variable in class net.oauth.OAuth.Problems
 
TOKEN_REVOKED - Static variable in class net.oauth.OAuth.Problems
 
TOKEN_USED - Static variable in class net.oauth.OAuth.Problems
 
tokenSecret - Variable in class net.oauth.OAuthAccessor
 
toOAuthProblemException() - Method in class net.oauth.client.OAuthResponseMessage
Encapsulate this message as an exception.
toString() - Method in class net.oauth.OAuth.Parameter
 
toString() - Method in class net.oauth.OAuthMessage
 
toString() - Method in exception net.oauth.OAuthProblemException
 

U

unregisterMethod(String) - Static method in class net.oauth.signature.OAuthSignatureMethod
Subsequently, newMethod(name) will fail.
url - Variable in class net.oauth.http.HttpMessage
 
URL - Variable in class net.oauth.OAuthMessage
 
URL - Static variable in exception net.oauth.OAuthProblemException
The name of a parameter whose value is the request URL.
URLConnectionClient - Class in net.oauth.client
An HttpClient based on HttpURLConnection.
URLConnectionClient() - Constructor for class net.oauth.client.URLConnectionClient
 
URLConnectionResponse - Class in net.oauth.client
The response part of a URLConnection, encapsulated as an HttpMessage.
URLConnectionResponse(HttpMessage, String, byte[], URLConnection) - Constructor for class net.oauth.client.URLConnectionResponse
Construct an OAuthMessage from the HTTP response, including parameters from OAuth WWW-Authenticate headers and the body.
USER_REFUSED - Static variable in class net.oauth.OAuth.Problems
 
userAuthorizationURL - Variable in class net.oauth.OAuthServiceProvider
 

V

validate(OAuthMessage) - Method in class net.oauth.signature.OAuthSignatureMethod
Check whether the message has a valid signature.
validateMessage(OAuthMessage, OAuthAccessor) - Method in interface net.oauth.OAuthValidator
Check that the given message from the given accessor is valid.
validateMessage(OAuthMessage, OAuthAccessor) - Method in class net.oauth.SimpleOAuthValidator
validateNonce(OAuthMessage, long, long) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if the nonce has been validated previously.
validateSignature(OAuthMessage, OAuthAccessor) - Method in class net.oauth.SimpleOAuthValidator
 
validateTimestamp(OAuthMessage, long, long) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if the timestamp [sec] is out of range.
validateTimestampAndNonce(OAuthMessage) - Method in class net.oauth.SimpleOAuthValidator
Throw an exception if the timestamp is out of range or the nonce has been validated previously.
validateVersion(OAuthMessage) - Method in class net.oauth.SimpleOAuthValidator
 
valueOf(String) - Static method in enum net.oauth.ParameterStyle
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.oauth.ParameterStyle
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_1_0 - Static variable in class net.oauth.OAuth
 
VERSION_REJECTED - Static variable in class net.oauth.OAuth.Problems
 

X

X509_CERTIFICATE - Static variable in class net.oauth.signature.RSA_SHA1
 

_

_ACCESSOR - Static variable in class net.oauth.signature.OAuthSignatureMethod
 
A B C D E F G H I L M N O P R S T U V X _ 
Skip navigation links

Copyright © 2023. All rights reserved.