| 程序包 | 说明 |
|---|---|
| com.github.biezhi.ucloud.http |
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpRequest |
HttpRequest.get(String url)
GET请求
|
HttpRequest |
HttpResponse.getHttpRequest()
获取请求对象
|
static HttpRequest |
HttpRequest.post(String url)
POST请求
|
HttpRequest |
HttpRequest.timeout(int milliseconds)
设置超时
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpResponse.setHttpRequest(HttpRequest httpRequest)
设置请求对象
|
Copyright © 2015. All rights reserved.