public class Delete extends Object
| 构造器和说明 |
|---|
Delete() |
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpResponse |
doDelete(@NotNull String url,
@Nullable byte[] body,
@Nullable okhttp3.MediaType contentType)
delete同步请求
|
static HttpResponse |
doDelete(@NotNull String url,
@Nullable okhttp3.Headers headers,
@Nullable byte[] body,
@Nullable okhttp3.MediaType contentType)
delete同步请求
|
static HttpResponse |
doDelete(@NotNull String url,
@Nullable okhttp3.Headers headers,
@Nullable byte[] body,
@Nullable okhttp3.MediaType contentType,
@Nullable ClientConfig clientConfig)
delete同步请求
|
static void |
doDeleteAsync(@NotNull String url,
@Nullable byte[] body,
@Nullable okhttp3.MediaType contentType,
@NotNull HttpCallback httpCallback)
delete异步请求
|
static void |
doDeleteAsync(@NotNull String url,
@Nullable okhttp3.Headers headers,
@Nullable byte[] body,
@Nullable okhttp3.MediaType contentType,
@Nullable ClientConfig clientConfig,
@NotNull okhttp3.Callback callback)
delete异步请求(okhttp3 原生异步)
|
static void |
doDeleteAsync(@NotNull String url,
@Nullable okhttp3.Headers headers,
@Nullable byte[] body,
@Nullable okhttp3.MediaType contentType,
@Nullable ClientConfig clientConfig,
@NotNull HttpCallback httpCallback)
delete异步请求
|
static void |
doDeleteAsync(@NotNull String url,
@Nullable okhttp3.Headers headers,
@Nullable byte[] body,
@Nullable okhttp3.MediaType contentType,
@NotNull HttpCallback httpCallback)
delete异步请求
|
public static HttpResponse doDelete(@NotNull @NotNull String url, @Nullable @Nullable byte[] body, @Nullable @Nullable okhttp3.MediaType contentType) throws IOException
url - 请求地址body - 请求体contentType - 内容类型IOExceptionpublic static HttpResponse doDelete(@NotNull @NotNull String url, @Nullable @Nullable okhttp3.Headers headers, @Nullable @Nullable byte[] body, @Nullable @Nullable okhttp3.MediaType contentType) throws IOException
url - 请求地址headers - 请求头body - 请求体contentType - 内容类型IOExceptionpublic static HttpResponse doDelete(@NotNull @NotNull String url, @Nullable @Nullable okhttp3.Headers headers, @Nullable @Nullable byte[] body, @Nullable @Nullable okhttp3.MediaType contentType, @Nullable @Nullable ClientConfig clientConfig) throws IOException
url - 请求地址headers - 请求头body - 请求体contentType - 内容类型clientConfig - 连接器配置IOExceptionpublic static void doDeleteAsync(@NotNull
@NotNull String url,
@Nullable
@Nullable byte[] body,
@Nullable
@Nullable okhttp3.MediaType contentType,
@NotNull
@NotNull HttpCallback httpCallback)
url - 请求地址body - 请求体contentType - 内容类型httpCallback - 异步callbackpublic static void doDeleteAsync(@NotNull
@NotNull String url,
@Nullable
@Nullable okhttp3.Headers headers,
@Nullable
@Nullable byte[] body,
@Nullable
@Nullable okhttp3.MediaType contentType,
@NotNull
@NotNull HttpCallback httpCallback)
url - 请求地址headers - 请求头body - 请求体contentType - 内容类型httpCallback - 异步callbackpublic static void doDeleteAsync(@NotNull
@NotNull String url,
@Nullable
@Nullable okhttp3.Headers headers,
@Nullable
@Nullable byte[] body,
@Nullable
@Nullable okhttp3.MediaType contentType,
@Nullable
@Nullable ClientConfig clientConfig,
@NotNull
@NotNull HttpCallback httpCallback)
url - 请求地址headers - 请求头body - 请求体contentType - 内容类型clientConfig - 连接器配置httpCallback - 异步callbackpublic static void doDeleteAsync(@NotNull
@NotNull String url,
@Nullable
@Nullable okhttp3.Headers headers,
@Nullable
@Nullable byte[] body,
@Nullable
@Nullable okhttp3.MediaType contentType,
@Nullable
@Nullable ClientConfig clientConfig,
@NotNull
@NotNull okhttp3.Callback callback)
url - 请求地址headers - 请求头body - 请求体contentType - 内容类型clientConfig - 连接器配置callback - 异步callbackCopyright © 2020. All rights reserved.