Uses of Class
net.oauth.OAuthException
-
Packages that use OAuthException Package Description net.oauth net.oauth.signature -
-
Uses of OAuthException in net.oauth
Subclasses of OAuthException in net.oauth Modifier and Type Class Description classOAuthProblemExceptionAn OAuth-related problem, described 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)OAuthMessageOAuthAccessor. newRequestMessage(String method, String url, Collection<? extends Map.Entry<String,String>> parameters)OAuthMessageOAuthAccessor. newRequestMessage(String method, String url, Collection<? extends Map.Entry<String,String>> parameters, InputStream body)Construct a request message containing the given parameters but no body.voidOAuthMessage. sign(OAuthAccessor accessor)Add a signature to the message.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.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.
-