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 |