public class PromiseHttp
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static PromiseHttp |
client() |
<any> |
download(PromiseRequest request) |
<any> |
execute(PromiseRequest request) |
java.lang.String |
getBaseUrl() |
java.io.File |
getCachePath() |
PromiseHttp |
setBaseUrl(java.lang.String baseUrl) |
PromiseHttp |
setCachePath(java.io.File cachePath) |
public java.lang.String getBaseUrl()
public PromiseHttp setBaseUrl(java.lang.String baseUrl)
public java.io.File getCachePath()
public PromiseHttp setCachePath(java.io.File cachePath)
public static PromiseHttp client()
public <any> execute(PromiseRequest request)
public <any> download(PromiseRequest request)