จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
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 |
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-03-30 UTC
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"ไม่มีข้อมูลที่ฉันต้องการ"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"ล้าสมัย"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ปัญหาเกี่ยวกับการแปล"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"อื่นๆ"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"เข้าใจง่าย"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"แก้ปัญหาของฉันได้"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"อื่นๆ"
}]