Uses of Class
net.oauth.OAuthException
-
Packages that use OAuthException Package Description net.oauth net.oauth.client net.oauth.signature -
-
Uses of OAuthException in net.oauth
Subclasses of OAuthException in net.oauth Modifier and Type Class Description classOAuthProblemExceptionDescribes an OAuth-related problem, using a set of named parameters.Methods in net.oauth that throw OAuthException Modifier and Type Method Description voidOAuthMessage. addRequiredParameters(OAuthAccessor accessor)Add some of the parameters needed to request access to a protected resource, if they aren't already in the message.protected voidSimpleOAuthValidator. checkSingleParameters(OAuthMessage message)Throw an exception if any SINGLE_PARAMETERS occur repeatedly.OAuthMessageOAuthAccessor. newRequestMessage(String method, String url, Collection<? extends Map.Entry> parameters)OAuthMessageOAuthAccessor. newRequestMessage(String method, String url, Collection<? extends Map.Entry> parameters, InputStream body)Construct a request message containing the given parameters but no body.voidOAuthMessage. sign(OAuthAccessor accessor)Add a signature to the message.voidOAuthMessage. validateMessage(OAuthAccessor accessor, OAuthValidator validator)Check that the message is valid.voidOAuthValidator. validateMessage(OAuthMessage message, OAuthAccessor accessor)Check that the given message from the given accessor is valid.voidSimpleOAuthValidator. validateMessage(OAuthMessage message, OAuthAccessor accessor)protected voidSimpleOAuthValidator. validateSignature(OAuthMessage message, OAuthAccessor accessor)protected voidSimpleOAuthValidator. validateVersion(OAuthMessage message) -
Uses of OAuthException in net.oauth.client
Methods in net.oauth.client that throw OAuthException Modifier and Type Method Description OAuthMessageOAuthClient. getAccessToken(OAuthAccessor accessor, String httpMethod, Collection<? extends Map.Entry> parameters)Get an access token from the service provider, in exchange for an authorized request token.voidOAuthClient. getRequestToken(OAuthAccessor accessor)Get a fresh request token from the service provider.voidOAuthClient. getRequestToken(OAuthAccessor accessor, String httpMethod)Get a fresh request token from the service provider.voidOAuthClient. getRequestToken(OAuthAccessor accessor, String httpMethod, Collection<? extends Map.Entry> parameters)Get a fresh request token from the service provider.OAuthMessageOAuthClient. invoke(OAuthAccessor accessor, String httpMethod, String url, Collection<? extends Map.Entry> parameters)Construct a request message, send it to the service provider and get the response.OAuthMessageOAuthClient. invoke(OAuthAccessor accessor, String url, Collection<? extends Map.Entry> parameters)Construct a request message, send it to the service provider and get the response.OAuthMessageOAuthClient. invoke(OAuthMessage request, OAuthClient.ParameterStyle style)Deprecated.OAuthMessageOAuthClient. invoke(OAuthMessage request, ParameterStyle style)Send a request message to the service provider and get the response. -
Uses of OAuthException in net.oauth.signature
Methods in net.oauth.signature that throw OAuthException Modifier and Type Method Description protected abstract StringOAuthSignatureMethod. getSignature(String baseString)Compute the signature for the given base string.protected StringOAuthSignatureMethod. getSignature(OAuthMessage message)protected StringRSA_SHA1. getSignature(String baseString)protected voidOAuthSignatureMethod. initialize(String name, OAuthAccessor accessor)protected voidRSA_SHA1. initialize(String name, OAuthAccessor accessor)protected abstract booleanOAuthSignatureMethod. isValid(String signature, String baseString)Decide whether the signature is valid.protected booleanRSA_SHA1. isValid(String signature, String baseString)static OAuthSignatureMethodOAuthSignatureMethod. newMethod(String name, OAuthAccessor accessor)The factory for signature methods.static OAuthSignatureMethodOAuthSignatureMethod. newSigner(OAuthMessage message, OAuthAccessor accessor)voidOAuthSignatureMethod. sign(OAuthMessage message)Add a signature to the message.voidOAuthSignatureMethod. validate(OAuthMessage message)Check whether the message has a valid signature.
-