IRestApiHelper

public interface IRestApiHelper

com.android.tradefed.util.IRestApiHelper


REST API 呼び出しを実行するためのヘルパー インターフェイス。

まとめ

パブリックメソッド

abstract HttpResponse execute (String method, String[] uriParts, options, JSONObject data) execute (String method, String[] uriParts, options, JSONObject data)

APIリクエストを実行します。

パブリックメソッド

実行する

public abstract HttpResponse execute (String method, 
                String[] uriParts, 
                 options, 
                JSONObject data)

APIリクエストを実行します。

パラメーター
method String : リクエストの HTTP メソッド

uriParts String : リクエスト URI の構築に使用される URL エンコードされた URI 部分。

options : クエリ文字列の構築に使用される、エンコードされていないパラメータ名と値

data JSONObject : リクエストとともに送信されるデータ

戻り値
HttpResponse HttpResponse オブジェクト

投げる
IO例外