public class SignatureBaseString
extends java.lang.Object
| Constructor and Description |
|---|
SignatureBaseString(HttpRequest request,
HttpParameters requestParameters)
Constructs a new SBS instance that will operate on the given request
object and parameter set.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generate()
Builds the signature base string from the data this instance was
configured with.
|
java.lang.String |
normalizeRequestParameters()
Normalizes the set of request parameters this instance was configured
with, as per OAuth spec section 9.1.1.
|
java.lang.String |
normalizeRequestUrl() |
public SignatureBaseString(HttpRequest request, HttpParameters requestParameters)
request - the HTTP requestrequestParameters - the set of request parameters from the Authorization header, query
string and form bodypublic java.lang.String generate()
throws OAuthMessageSignerException
OAuthMessageSignerExceptionpublic java.lang.String normalizeRequestUrl()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic java.lang.String normalizeRequestParameters()
throws java.io.IOException
parameters - the set of request parametersjava.io.IOException