oauth.signpost.signature
クラス QueryStringSigningStrategy

java.lang.Object
  上位を拡張 oauth.signpost.signature.QueryStringSigningStrategy
すべての実装されたインタフェース:
Serializable, SigningStrategy

public class QueryStringSigningStrategy
extends Object
implements SigningStrategy

Writes to a URL query string. Note that this currently ONLY works when signing a URL directly, not with HTTP request objects. That's because most HTTP request implementations do not allow the client to change the URL once the request has been instantiated, so there is no way to append parameters to it.

作成者:
Matthias Kaeppler
関連項目:
直列化された形式

コンストラクタの概要
QueryStringSigningStrategy()
           
 
メソッドの概要
 String writeSignature(String signature, HttpRequest request, HttpParameters requestParameters)
          Writes an OAuth signature and all remaining required parameters to an HTTP message.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

QueryStringSigningStrategy

public QueryStringSigningStrategy()
メソッドの詳細

writeSignature

public String writeSignature(String signature,
                             HttpRequest request,
                             HttpParameters requestParameters)
インタフェース SigningStrategy の記述:
Writes an OAuth signature and all remaining required parameters to an HTTP message.

定義:
インタフェース SigningStrategy 内の writeSignature
パラメータ:
signature - the signature to write
request - the request to sign
requestParameters - the request parameters
戻り値:
whatever has been written to the request, e.g. an Authorization header field


Copyright © 2012. All Rights Reserved.