- generate(OAuthRequest, OAuthParameters, OAuthSecrets) - Static method in class com.sun.jersey.oauth.signature.OAuthSignature
-
Generates and returns an OAuth signature for the given request,
parameters and secrets.
- getCallback() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the callback URL.
- getConsumerKey() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the consumer key.
- getConsumerSecret() - Method in class com.sun.jersey.oauth.signature.OAuthSecrets
-
Returns the consumer secret.
- getHeaderValues(String) - Method in interface com.sun.jersey.oauth.signature.OAuthRequest
-
Returns the value(s) of the specified request header.
- getNonce() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the nonce, a value that should be unique for a given
timestamp.
- getParameterNames() - Method in interface com.sun.jersey.oauth.signature.OAuthRequest
-
Returns an Set of String objects containing the
names of the parameters contained in the request.
- getParameterValues(String) - Method in interface com.sun.jersey.oauth.signature.OAuthRequest
-
Returns an List of String objects containing the
values of the specified request parameter, or null if the parameter does
not exist.
- getRealm() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the protection realm for the request.
- getRequestMethod() - Method in interface com.sun.jersey.oauth.signature.OAuthRequest
-
Returns the name of the HTTP method with which this request was made,
for example, GET, POST, or PUT.
- getRequestURL() - Method in interface com.sun.jersey.oauth.signature.OAuthRequest
-
Returns the URL of the request, including protocol, server name,
optional port number, and server path.
- getSignature() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the signature for the request.
- getSignatureMethod() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the signature method used to sign the request.
- getTimestamp() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the timestamp, a value expected to be a positive integer,
typically containing the number of seconds since January 1, 1970
00:00:00 GMT (epoch).
- getToken() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the request or access token.
- getTokenSecret() - Method in class com.sun.jersey.oauth.signature.OAuthSecrets
-
Returns request or access token.
- getVerifier() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the verifier code.
- getVersion() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Returns the protocol version.
- SCHEME - Static variable in class com.sun.jersey.oauth.signature.OAuthParameters
-
OAuth scheme in Authorization header.
- setCallback(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the callback URL.
- setConsumerKey(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the consumer key.
- setConsumerSecret(String) - Method in class com.sun.jersey.oauth.signature.OAuthSecrets
-
- setNonce(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the nonce, a value that should be unique for a given timestamp.
- setNonce() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the nonce to contain a randomly-generated UUID.
- setRealm(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the protection realm for the request.
- setSignature(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the signature for the request.
- setSignatureMethod(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the signature method used to sign the request.
- setTimestamp(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the timestamp.
- setTimestamp() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the timestamp to the current time as number of seconds since epoch.
- setToken(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the request or access token.
- setTokenSecret(String) - Method in class com.sun.jersey.oauth.signature.OAuthSecrets
-
Sets request or access token.
- setVerifier(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the verifier code.
- setVersion(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the protocol version.
- setVersion() - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Sets the protocol version to the default value of 1.0.
- sign(String, OAuthSecrets) - Method in class com.sun.jersey.oauth.signature.HMAC_SHA1
-
Generates the HMAC-SHA1 signature of OAuth request elements.
- sign(OAuthRequest, OAuthParameters, OAuthSecrets) - Static method in class com.sun.jersey.oauth.signature.OAuthSignature
-
Generates an OAuth signature for the given request, parameters and
secrets, and stores it as a signature parameter, and writes the
OAuth parameters to the request as an Authorization header.
- sign(String, OAuthSecrets) - Method in interface com.sun.jersey.oauth.signature.OAuthSignatureMethod
-
Signs the data using the supplied secret(s).
- sign(String, OAuthSecrets) - Method in class com.sun.jersey.oauth.signature.PLAINTEXT
-
Generates the PLAINTEXT signature.
- sign(String, OAuthSecrets) - Method in class com.sun.jersey.oauth.signature.RSA_SHA1
-
Generates the RSA-SHA1 signature of OAuth request elements.
- SIGNATURE - Static variable in class com.sun.jersey.oauth.signature.OAuthParameters
-
Name of parameter containing the signature.
- signature(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
- SIGNATURE_METHOD - Static variable in class com.sun.jersey.oauth.signature.OAuthParameters
-
Name of parameter containing the signature method.
- signatureMethod(String) - Method in class com.sun.jersey.oauth.signature.OAuthParameters
-
Builder pattern method to return
OAuthParameters after setting
signature method.