|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OAuthMessage | |
---|---|
net.oauth | Fundamental classes and algorithms for implementing OAuth. |
net.oauth.client | |
net.oauth.http | Classes that integrate OAuth with HTTP. |
net.oauth.signature | Classes to compute and verify digital signatures. |
Uses of OAuthMessage in net.oauth |
---|
Methods in net.oauth that return OAuthMessage | |
---|---|
OAuthMessage |
OAuthAccessor.newRequestMessage(java.lang.String method,
java.lang.String url,
java.util.Collection<? extends java.util.Map.Entry> parameters)
|
OAuthMessage |
OAuthAccessor.newRequestMessage(java.lang.String method,
java.lang.String url,
java.util.Collection<? extends java.util.Map.Entry> parameters,
java.io.InputStream body)
Construct a request message containing the given parameters but no body. |
Methods in net.oauth with parameters of type OAuthMessage | |
---|---|
protected void |
SimpleOAuthValidator.checkSingleParameters(OAuthMessage message)
Throw an exception if any SINGLE_PARAMETERS occur repeatedly. |
void |
SimpleOAuthValidator.validateMessage(OAuthMessage message,
OAuthAccessor accessor)
|
void |
OAuthValidator.validateMessage(OAuthMessage message,
OAuthAccessor accessor)
Check that the given message from the given accessor is valid. |
protected java.util.Date |
SimpleOAuthValidator.validateNonce(OAuthMessage message,
long timestamp,
long currentTimeMsec)
Throw an exception if the nonce has been validated previously. |
protected void |
SimpleOAuthValidator.validateSignature(OAuthMessage message,
OAuthAccessor accessor)
|
protected void |
SimpleOAuthValidator.validateTimestamp(OAuthMessage message,
long timestamp,
long currentTimeMsec)
Throw an exception if the timestamp [sec] is out of range. |
protected void |
SimpleOAuthValidator.validateTimestampAndNonce(OAuthMessage message)
Throw an exception if the timestamp is out of range or the nonce has been validated previously. |
protected void |
SimpleOAuthValidator.validateVersion(OAuthMessage message)
|
Uses of OAuthMessage in net.oauth.client |
---|
Subclasses of OAuthMessage in net.oauth.client | |
---|---|
class |
OAuthResponseMessage
An HTTP response, encapsulated as an OAuthMessage. |
Methods in net.oauth.client that return OAuthMessage | |
---|---|
OAuthMessage |
OAuthClient.getAccessToken(OAuthAccessor accessor,
java.lang.String httpMethod,
java.util.Collection<? extends java.util.Map.Entry> parameters)
Get an access token from the service provider, in exchange for an authorized request token. |
OAuthMessage |
OAuthClient.getRequestTokenResponse(OAuthAccessor accessor,
java.lang.String httpMethod,
java.util.Collection<? extends java.util.Map.Entry> parameters)
Get a fresh request token from the service provider. |
OAuthMessage |
OAuthClient.invoke(OAuthAccessor accessor,
java.lang.String url,
java.util.Collection<? extends java.util.Map.Entry> parameters)
Construct a request message, send it to the service provider and get the response. |
OAuthMessage |
OAuthClient.invoke(OAuthAccessor accessor,
java.lang.String httpMethod,
java.lang.String url,
java.util.Collection<? extends java.util.Map.Entry> parameters)
Construct a request message, send it to the service provider and get the response. |
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
OAuthClient.ParameterStyle style)
Deprecated. |
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
ParameterStyle style)
Send a request message to the service provider and get the response. |
Methods in net.oauth.client with parameters of type OAuthMessage | |
---|---|
OAuthResponseMessage |
OAuthClient.access(OAuthMessage request,
OAuthClient.ParameterStyle style)
Deprecated. |
OAuthResponseMessage |
OAuthClient.access(OAuthMessage request,
ParameterStyle style)
Send a request and return the response. |
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
OAuthClient.ParameterStyle style)
Deprecated. |
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
ParameterStyle style)
Send a request message to the service provider and get the response. |
Uses of OAuthMessage in net.oauth.http |
---|
Methods in net.oauth.http with parameters of type OAuthMessage | |
---|---|
static HttpMessage |
HttpMessage.newRequest(OAuthMessage from,
ParameterStyle style)
Construct an HTTP request from this OAuth message. |
Uses of OAuthMessage in net.oauth.signature |
---|
Methods in net.oauth.signature with parameters of type OAuthMessage | |
---|---|
static java.lang.String |
OAuthSignatureMethod.getBaseString(OAuthMessage message)
|
protected java.lang.String |
OAuthSignatureMethod.getSignature(OAuthMessage message)
|
static OAuthSignatureMethod |
OAuthSignatureMethod.newSigner(OAuthMessage message,
OAuthAccessor accessor)
|
void |
OAuthSignatureMethod.sign(OAuthMessage message)
Add a signature to the message. |
void |
OAuthSignatureMethod.validate(OAuthMessage message)
Check whether the message has a valid signature. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |