类 OKHttpClientWrapper
java.lang.Object
dev.tinyflow.core.util.OKHttpClientWrapper
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private static final okhttp3.MediaTypeprivate static final org.slf4j.Loggerprivate final okhttp3.OkHttpClient -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private okhttp3.Responsebyte[]byte[]okhttp3.Responsebyte[]byte[]
-
字段详细资料
-
LOG
-
JSON_TYPE
-
okHttpClient
-
-
构造器详细资料
-
OKHttpClientWrapper
public OKHttpClientWrapper() -
OKHttpClientWrapper
-
-
方法详细资料
-
get
-
getBytes
-
get
-
post
-
postBytes
-
put
-
delete
-
multipartString
-
multipartBytes
-
multipart
public okhttp3.Response multipart(String url, Map<String, String> headers, Map<String, throws IOExceptionObject> payload) - 抛出:
IOException
-
executeString
-
executeBytes
-
execute0
private okhttp3.Response execute0(String url, String method, Map<String, String> headers, String payload) throws IOException- 抛出:
IOException
-