IRestApiHelper

public interface IRestApiHelper

com.android.tradefed.util.IRestApiHelper


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

概要

パブリックメソッド

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オブジェクト