Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
X
_
A
ACCEPT_ENCODING
- Static variable in class net.oauth.client.
OAuthClient
Deprecated.
use
OAuthConsumer.ACCEPT_ENCODING
instead
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.
access(OAuthMessage, OAuthClient.ParameterStyle)
- Method in class net.oauth.client.
OAuthClient
Deprecated.
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.
Api
- Interface in
com.simpleyql
Allows applications to authorize Yahoo users and make API calls in behalf of them.
ApiFactory
- Class in
com.simpleyql
Builds the objects used to authorize users and call the Yahoo! API
ApiFactory()
- Constructor for class com.simpleyql.
ApiFactory
ApiImpl
- Class in
com.simpleyql
Implementation for the Yahoo! API object returned by
ApiFactory
.
ApiImpl(String, String, String, boolean, HttpClient)
- Constructor for class com.simpleyql.
ApiImpl
Retrieves an object that can be used to call the API.
askAuthorization(HttpServletRequest, HttpServletResponse, String)
- Method in interface com.simpleyql.
Api
Redirects the current user to the authorization page.
askAuthorization(HttpServletRequest, HttpServletResponse, String)
- Method in class com.simpleyql.
ApiImpl
Redirects the current user to the authorization page.
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
CallbackServlet
- Class in
com.simpleyql
Called after a sucessful authorization.
CallbackServlet()
- Constructor for class com.simpleyql.
CallbackServlet
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
com.simpleyql
- package com.simpleyql
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
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
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_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.
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.
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(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.
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
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.
getApiInstance(String, String, String, boolean, HttpClient)
- Static method in class com.simpleyql.
ApiFactory
Retrieves an object that can be used to call the API.
getAuthdata()
- Method in interface com.simpleyql.
QueryResult
The token used for this request.
getAuthdata()
- Method in class com.simpleyql.
QueryResultImpl
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.
getBodyEncoding()
- Method in class net.oauth.client.
OAuthResponseMessage
getBodyEncoding()
- Method in class net.oauth.
OAuthMessage
The character encoding of the body of this message.
getBodyType()
- Method in class net.oauth.
OAuthMessage
The MIME type of the body of this message.
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()
- 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
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
getProblem()
- Method in exception net.oauth.
OAuthProblemException
getProperty(String)
- Method in class net.oauth.
OAuthAccessor
getProperty(String)
- Method in class net.oauth.
OAuthConsumer
getReplacement()
- Method in enum net.oauth.client.
OAuthClient.ParameterStyle
Deprecated.
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.
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.
URLConnectionResponse
getStatusCode()
- Method in class net.oauth.http.
HttpMessageDecoder
getStatusCode()
- Method in class net.oauth.http.
HttpResponseMessage
getText()
- Method in interface com.simpleyql.
QueryResult
The response from the server
getText()
- Method in class com.simpleyql.
QueryResultImpl
getToken()
- Method in class net.oauth.
OAuthMessage
getTokenSecret()
- Method in class net.oauth.signature.
OAuthSignatureMethod
getValue()
- Method in class net.oauth.
OAuth.Parameter
GZIP
- Static variable in class net.oauth.http.
HttpMessageDecoder
H
hashCode()
- Method in class net.oauth.
OAuth.Parameter
headers
- Variable in class net.oauth.http.
HttpMessage
HMAC_SHA1
- Static variable in class net.oauth.
OAuth
HttpClient
- Interface in
net.oauth.http
An HTTP client, which can send an HTTP request and receive the response.
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.
httpParameters
- Variable in class net.oauth.client.
OAuthClient
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.
invoke(OAuthMessage, OAuthClient.ParameterStyle)
- Method in class net.oauth.client.
OAuthClient
Deprecated.
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.
log
- Variable in class com.simpleyql.
CallbackServlet
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
net.oauth.http
- package net.oauth.http
Classes that integrate OAuth with HTTP.
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.
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.Parameter(String, String)
- Constructor for class net.oauth.
OAuth.Parameter
OAuth.Problems
- Class in
net.oauth
Strings used for
problem reporting
.
OAuth.Problems()
- Constructor for class net.oauth.
OAuth.Problems
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
OAuthClient.ParameterStyle
- Enum in
net.oauth.client
Deprecated.
use net.oauth.ParameterStyle.
OAuthConsumer
- Class in
net.oauth
Properties of an OAuth Consumer.
OAuthConsumer(String, String, String, OAuthServiceProvider)
- Constructor for class net.oauth.
OAuthConsumer
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.
OAuthServiceProvider
- Class in
net.oauth
Properties of an OAuth Service Provider.
OAuthServiceProvider(String, String, String)
- Constructor for class net.oauth.
OAuthServiceProvider
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.
URLConnectionResponse
openBody()
- Method in class net.oauth.http.
HttpMessage
P
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
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
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
Q
query(String, String)
- Method in interface com.simpleyql.
Api
Sends a YQL request to Yahoo
query(String, String)
- Method in class com.simpleyql.
ApiImpl
QueryResult
- Interface in
com.simpleyql
Information returned by an API call
QueryResultImpl
- Class in
com.simpleyql
Information returned by an API call
QueryResultImpl()
- Constructor for class com.simpleyql.
QueryResultImpl
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
service(HttpServletRequest, HttpServletResponse)
- Method in class com.simpleyql.
CallbackServlet
serviceProvider
- Variable in class net.oauth.
OAuthConsumer
setAuthdata(String)
- Method in class com.simpleyql.
QueryResultImpl
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
setText(String)
- Method in class com.simpleyql.
QueryResultImpl
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_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.
toHttpRequest(OAuthClient.ParameterStyle)
- Method in class net.oauth.
OAuthMessage
Deprecated.
use HttpMessage.newRequest
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
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
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(OAuthAccessor, OAuthValidator)
- Method in class net.oauth.
OAuthMessage
Deprecated.
use validator.validateMessage(this, accessor) instead.
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.client.
OAuthClient.ParameterStyle
Deprecated.
Returns the enum constant of this type with the specified name.
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.client.
OAuthClient.ParameterStyle
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
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
Q
R
S
T
U
V
X
_
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2009. All Rights Reserved.