- decode(HttpResponseMessage) - Static method in class net.oauth.http.HttpMessageDecoder
-
Decode the given message if necessary and possible.
- decode(byte[], int, int) - Method in class net.oauth.signature.Base64
-
Decodes all of the provided data, starting at inPos, for inAvail bytes.
- decode(byte[]) - Method in class net.oauth.signature.Base64
-
Decodes a byte[] containing containing characters in the Base64 alphabet.
- decode(byte[]) - Method in class net.oauth.signature.pem.PKCS1EncodedKeySpec
-
Decode PKCS#1 encoded private key into RSAPrivateCrtKeySpec.
- decodeAuthorization(String) - Static method in class net.oauth.OAuthMessage
-
Parse the parameters from an OAuth Authorization or WWW-Authenticate
header.
- decodeBase64(byte[]) - Static method in class net.oauth.signature.Base64
-
Decodes Base64 data into octets
- 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.
- decodeInteger(byte[]) - Static method in class net.oauth.signature.Base64
-
Decode a byte64-encoded integer according to crypto
standards such as W3C's XML-Signature
- decodePercent(String) - Static method in class net.oauth.OAuth
-
- decodeSize - Variable in class net.oauth.signature.Base64
-
Convenience variable to help us determine when our buffer is going to run out of
room and needs resizing.
- 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
-
- defaultRealm - Variable in class net.oauth.client.httpclient4.OAuthScheme
-
- 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
-
- derBytes - Variable in class net.oauth.signature.pem.PEMReader
-
- DerParser - Class in net.oauth.signature.pem
-
A bare-minimum ASN.1 DER decoder, just having enough functions to
decode PKCS#1 private keys.
- DerParser(InputStream) - Constructor for class net.oauth.signature.pem.DerParser
-
Create a new DER decoder from an input stream.
- DerParser(byte[]) - Constructor for class net.oauth.signature.pem.DerParser
-
Create a new DER decoder from a byte array.
- discardNonBase64(byte[]) - Static method in class net.oauth.signature.Base64
-
Discards any characters outside of the base64 alphabet, per the requirements on page 25 of RFC 2045 - "Any
characters outside of the base64 alphabet are to be ignored in base64 encoded data."
- 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
-
- 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.
- encode(byte[], int, int) - Method in class net.oauth.signature.Base64
-
Encodes all of the provided data, starting at inPos, for inAvail bytes.
- encode(byte[]) - Method in class net.oauth.signature.Base64
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
- encodeBase64(byte[]) - Static method in class net.oauth.signature.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64(byte[], boolean) - Static method in class net.oauth.signature.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64Chunked(byte[]) - Static method in class net.oauth.signature.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- encodeCharacters(String) - Static method in class net.oauth.OAuth
-
- encodeInteger(BigInteger) - Static method in class net.oauth.signature.Base64
-
Encode to a byte64-encoded integer according to crypto
standards such as W3C's XML-Signature
- encodeSize - Variable in class net.oauth.signature.Base64
-
Convenience variable to help us determine when our buffer is going to run out of
room and needs resizing.
- ENCODING - Static variable in class net.oauth.OAuth
-
The encoding used to represent characters as bytes.
- ENCODING - Static variable in class net.oauth.signature.HMAC_SHA1
-
ISO-8859-1 or US-ASCII would work, too.
- ENUMERATED - Static variable in class net.oauth.signature.pem.DerParser
-
- eof - Variable in class net.oauth.signature.Base64
-
Boolean flag to indicate the EOF has been reached.
- EOL - Static variable in class net.oauth.client.URLConnectionClient
-
- 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.
- equals(Object) - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
-
Return true iff this
and that
contain equal
timestamps, nonce etc., in the same order.
- equalsIgnoreCase(String, String) - Static method in class net.oauth.http.HttpMessage
-
- excerpt - Variable in class net.oauth.client.ExcerptInputStream
-
- 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.
- GENERAL_STRING - Static variable in class net.oauth.signature.pem.DerParser
-
- GENERALIZED_TIME - Static variable in class net.oauth.signature.pem.DerParser
-
- 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
-
- getAccessor(Credentials) - Method in class net.oauth.client.httpclient4.OAuthScheme
-
- 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.
- getCharset(String) - Static method in class net.oauth.http.HttpMessage
-
- 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.
- getEncoding(HttpMessage) - Static method in class net.oauth.http.HttpMessageDecoder
-
- 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.client.httpclient3.HttpMethodResponse
-
- getHeaders() - Method in class net.oauth.client.httpclient4.HttpMethodResponse
-
- getHeaders() - Method in class net.oauth.client.URLConnectionResponse
-
- getHeaders() - Method in class net.oauth.OAuthMessage
-
All HTTP headers.
- getHttpClient(URL) - Method in class net.oauth.client.httpclient3.HttpClient3.SingleClient
-
- 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 class net.oauth.client.httpclient4.HttpClient4.SingleClient
-
- 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
-
- getHttpUriRequest(HttpRequest) - Method in class net.oauth.client.httpclient4.OAuthScheme
-
- getInteger() - Method in class net.oauth.signature.pem.Asn1Object
-
Get the value as integer
- getKey() - Method in class net.oauth.OAuth.Parameter
-
- getKeySpec() - Method in class net.oauth.signature.pem.PKCS1EncodedKeySpec
-
Get the key spec that JCE understands.
- getLength() - Method in class net.oauth.signature.pem.Asn1Object
-
- getLength() - Method in class net.oauth.signature.pem.DerParser
-
Decode the length of the field.
- 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
-
- getParameters(Collection<OAuthSignatureMethod.ComparableParameter>) - Static method in class net.oauth.signature.OAuthSignatureMethod
-
Retrieve the original parameters from a sorted collection.
- getParser() - Method in class net.oauth.signature.pem.Asn1Object
-
For constructed field, return a parser for its content.
- getPassword() - Method in class net.oauth.client.httpclient4.OAuthCredentials
-
Get the current consumer secret, to be used as a password.
- getPrivateKeyFromDer(byte[]) - Method in class net.oauth.signature.RSA_SHA1
-
- getPrivateKeyFromPem(String) - Method in class net.oauth.signature.RSA_SHA1
-
- 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
-
- getPublicKeyFromDer(byte[]) - Method in class net.oauth.signature.RSA_SHA1
-
- getPublicKeyFromDerCert(byte[]) - Method in class net.oauth.signature.RSA_SHA1
-
- getPublicKeyFromPem(String) - Method in class net.oauth.signature.RSA_SHA1
-
- getRealm() - Method in class net.oauth.client.httpclient4.OAuthScheme
-
- 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
-
- getSchemeName() - Method in class net.oauth.client.httpclient4.OAuthScheme
-
- getSignature() - Method in class net.oauth.OAuthMessage
-
- getSignature(String) - Method in class net.oauth.signature.HMAC_SHA1
-
- 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.PLAINTEXT
-
- getSignature() - Method in class net.oauth.signature.PLAINTEXT
-
- 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
-
- getString() - Method in class net.oauth.signature.pem.Asn1Object
-
Get value as string.
- getTimestamp() - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
-
- getToken() - Method in class net.oauth.OAuthMessage
-
- getTokenSecret() - Method in class net.oauth.signature.OAuthSignatureMethod
-
- getType() - Method in class net.oauth.signature.pem.Asn1Object
-
- getURL(URL, String) - Method in class net.oauth.ConsumerProperties
-
- 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
-
- getValue() - Method in class net.oauth.signature.pem.Asn1Object
-
- GRAPHIC_STRING - Static variable in class net.oauth.signature.pem.DerParser
-
- GZIP - Static variable in class net.oauth.http.HttpMessageDecoder
-
- 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
-
- hasData() - Method in class net.oauth.signature.Base64
-
Returns true if this Base64 object has buffered data for reading.
- hashCode() - Method in class net.oauth.OAuth.Parameter
-
- hashCode() - Method in class net.oauth.OAuthServiceProvider
-
- hashCode() - Method in class net.oauth.SimpleOAuthValidator.UsedNonce
-
- headers - Variable in class net.oauth.http.HttpMessage
-
- headers - Variable in class net.oauth.OAuthMessage
-
- HMAC_SHA1 - Static variable in class net.oauth.OAuth
-
- HMAC_SHA1 - Class in net.oauth.signature
-
The HMAC-SHA1 signature method.
- HMAC_SHA1() - Constructor for class net.oauth.signature.HMAC_SHA1
-
- htmlEncode(String) - Static method in class net.oauth.server.OAuthServlet
-
Return the HTML representation of the given plain text.
- http - Variable in class net.oauth.client.OAuthClient
-
- http - Variable in class net.oauth.client.OAuthResponseMessage
-
- 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
-
- HttpClient3.SingleClient - Class in net.oauth.client.httpclient3
-
A pool that simply shares a single HttpClient, as recommended
here.
- HttpClient4 - Class in net.oauth.client.httpclient4
-
- HttpClient4() - Constructor for class net.oauth.client.httpclient4.HttpClient4
-
- HttpClient4(HttpClientPool) - Constructor for class net.oauth.client.httpclient4.HttpClient4
-
- HttpClient4.SingleClient - Class in net.oauth.client.httpclient4
-
A pool that simply shares a single HttpClient.
- 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.
- HttpMessageDecoder(HttpResponseMessage, String) - Constructor for class net.oauth.http.HttpMessageDecoder
-
- 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
-
- httpRequest - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
-
- HttpRequestMessage - Class in net.oauth.server
-
An HttpServletRequest, encapsulated as an OAuthMessage.
- HttpRequestMessage(HttpServletRequest, String) - Constructor for class net.oauth.server.HttpRequestMessage
-
- httpResponse - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
-
- HttpResponseMessage - Class in net.oauth.http
-
An HTTP response.
- HttpResponseMessage(String, URL) - Constructor for class net.oauth.http.HttpResponseMessage
-
- 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
-
- 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.
- OAuthResponseMessage(HttpResponseMessage) - Constructor for class net.oauth.client.OAuthResponseMessage
-
- OAuthScheme - Class in net.oauth.client.httpclient4
-
- OAuthScheme(String) - Constructor for class net.oauth.client.httpclient4.OAuthScheme
-
- OAuthSchemeFactory - Class in net.oauth.client.httpclient4
-
- 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
-
- OAuthSignatureMethod.ComparableParameter - Class in net.oauth.signature
-
An efficiently sortable wrapper around a parameter.
- OAuthValidator - Interface in net.oauth
-
An algorithm to determine whether a message has a valid signature, a correct
version number, a fresh timestamp, etc.
- OBJECT_IDENTIFIER - Static variable in class net.oauth.signature.pem.DerParser
-
- OCTET_STRING - Static variable in class net.oauth.signature.pem.DerParser
-
- 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
-
- read() - Method in class net.oauth.signature.pem.DerParser
-
Read next object.
- 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.
- readBytes(BufferedReader, String) - Method in class net.oauth.signature.pem.PEMReader
-
Read the lines between BEGIN and END marker and convert
the Base64 encoded content into binary byte array.
- readFile() - Method in class net.oauth.signature.pem.PEMReader
-
Read the PEM file and save the DER encoded octet
stream and begin marker.
- readPos - Variable in class net.oauth.signature.Base64
-
Position where next character should be read from the buffer.
- readResults(byte[], int, int) - Method in class net.oauth.signature.Base64
-
Extracts buffered data into the provided byte[] array, starting
at position bPos, up to a maximum of bAvail bytes.
- REAL - Static variable in class net.oauth.signature.pem.DerParser
-
- 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.
- RELATIVE_OID - Static variable in class net.oauth.signature.pem.DerParser
-
- 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.
- removeOldNonces(long) - Method in class net.oauth.SimpleOAuthValidator
-
Remove usedNonces with timestamps that are too old to be valid.
- REQUEST - Static variable in class net.oauth.http.HttpMessage
-
The name of a dump entry whose value is the HTTP request.
- request - Variable in class net.oauth.server.HttpRequestMessage
-
- requestBody - Variable in class net.oauth.client.httpclient3.HttpMethodResponse
-
- requestBody - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
-
- requestEncoding - Variable in class net.oauth.client.httpclient3.HttpMethodResponse
-
- requestEncoding - Variable in class net.oauth.client.httpclient4.HttpMethodResponse
-
- requestEncoding - Variable in class net.oauth.client.URLConnectionResponse
-
- requestExcerpt - Variable in class net.oauth.client.URLConnectionResponse
-
- requestHeaders - Variable in class net.oauth.client.URLConnectionResponse
-
- 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.
- resizeBuf() - Method in class net.oauth.signature.Base64
-
Doubles our buffer.
- 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
-
- SC_FORBIDDEN - Static variable in class net.oauth.server.OAuthServlet
-
- 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.
- SEQUENCE - Static variable in class net.oauth.signature.pem.DerParser
-
- serialVersionUID - Static variable in class net.oauth.OAuthAccessor
-
- serialVersionUID - Static variable in class net.oauth.OAuthConsumer
-
- serialVersionUID - Static variable in exception net.oauth.OAuthException
-
- serialVersionUID - Static variable in exception net.oauth.OAuthProblemException
-
- serialVersionUID - Static variable in class net.oauth.OAuthServiceProvider
-
- serviceProvider - Variable in class net.oauth.OAuthConsumer
-
- SET - Static variable in class net.oauth.signature.pem.DerParser
-
- setCharacterEncoding(String) - Static method in class net.oauth.OAuth
-
- setConsumerSecret(String) - Method in class net.oauth.signature.HMAC_SHA1
-
- setConsumerSecret(String) - Method in class net.oauth.signature.OAuthSignatureMethod
-
- setConsumerSecret(String) - Method in class net.oauth.signature.PLAINTEXT
-
- setHttpClient(HttpClient) - Method in class net.oauth.client.OAuthClient
-
- setInitialBuffer(byte[], int, int) - Method in class net.oauth.signature.Base64
-
Small optimization where we try to buffer directly to the consumer's
output array for one round (if consumer calls this method first!) instead
of starting our own buffer.
- 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.HMAC_SHA1
-
- setTokenSecret(String) - Method in class net.oauth.signature.OAuthSignatureMethod
-
- setTokenSecret(String) - Method in class net.oauth.signature.PLAINTEXT
-
- setValue(String) - Method in class net.oauth.OAuth.Parameter
-
- SHARED_CLIENT - Static variable in class net.oauth.client.httpclient3.HttpClient3
-
- SHARED_CLIENT - Static variable in class net.oauth.client.httpclient4.HttpClient4
-
- 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.
- sign(byte[]) - Method in class net.oauth.signature.RSA_SHA1
-
- signature - Variable in class net.oauth.signature.PLAINTEXT
-
- 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.
- SimpleOAuthValidator.UsedNonce - Class in net.oauth
-
Selected parameters from an OAuth request, in a form suitable for
detecting duplicate requests.
- SINGLE_PARAMETERS - Static variable in class net.oauth.SimpleOAuthValidator
-
Names of parameters that may not appear twice in a valid message.
- SingleClient() - Constructor for class net.oauth.client.httpclient3.HttpClient3.SingleClient
-
- SingleClient() - Constructor for class net.oauth.client.httpclient4.HttpClient4.SingleClient
-
- sortKey - Variable in class net.oauth.SimpleOAuthValidator.UsedNonce
-
- 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.
- stream - Variable in class net.oauth.signature.pem.PEMReader
-