oauth.signpost.signature
クラス SignatureBaseString
java.lang.Object
oauth.signpost.signature.SignatureBaseString
public class SignatureBaseString
- extends Object
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureBaseString
public SignatureBaseString(HttpRequest request,
HttpParameters requestParameters)
- Constructs a new SBS instance that will operate on the given request
object and parameter set.
- パラメータ:
request - the HTTP requestrequestParameters - the set of request parameters from the Authorization header, query
string and form body
generate
public String generate()
throws OAuthMessageSignerException
- Builds the signature base string from the data this instance was
configured with.
- 戻り値:
- the signature base string
- 例外:
OAuthMessageSignerException
normalizeRequestUrl
public String normalizeRequestUrl()
throws URISyntaxException
- 例外:
URISyntaxException
normalizeRequestParameters
public String normalizeRequestParameters()
throws IOException
- Normalizes the set of request parameters this instance was configured
with, as per OAuth spec section 9.1.1.
- パラメータ:
parameters - the set of request parameters
- 戻り値:
- the normalized params string
- 例外:
IOException
Copyright © 2012. All Rights Reserved.