oauth.signpost.signature
クラス SignatureBaseString

java.lang.Object
  上位を拡張 oauth.signpost.signature.SignatureBaseString

public class SignatureBaseString
extends Object


コンストラクタの概要
SignatureBaseString(HttpRequest request, HttpParameters requestParameters)
          Constructs a new SBS instance that will operate on the given request object and parameter set.
 
メソッドの概要
 String generate()
          Builds the signature base string from the data this instance was configured with.
 String normalizeRequestParameters()
          Normalizes the set of request parameters this instance was configured with, as per OAuth spec section 9.1.1.
 String normalizeRequestUrl()
           
 
クラス 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 request
requestParameters - 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.