From d521ee3a434f10e6d7637fc41ebc3bf1dfe43571 Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Fri, 16 Apr 2021 00:00:05 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E4=B8=8D=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=EF=BC=8C=E5=8F=AF=E4=BB=A5=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=20form-data=20=E6=A0=BC=E5=BC=8F=E7=9A=84=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java | 3 ++- okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java b/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java index baefed6..eca388f 100644 --- a/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java +++ b/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java @@ -617,7 +617,8 @@ public abstract class HttpTask> implements Cancelable { } private RequestBody buildRequestBody() { - if (files != null) { + if (bodyParams != null && OkHttps.FORM_DATA.equalsIgnoreCase(bodyType) + || files != null) { MultipartBody.Builder builder = new MultipartBody.Builder().setType(MultipartBody.FORM); if (bodyParams != null) { for (String name : bodyParams.keySet()) { diff --git a/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java b/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java index ba95fe8..426dbc3 100644 --- a/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java +++ b/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java @@ -13,6 +13,7 @@ import okhttp3.WebSocketListener; public final class OkHttps { public static final String FORM = "form"; + public static final String FORM_DATA = "form-data"; public static final String JSON = "json"; public static final String XML = "xml"; public static final String PROTOBUF = "protobuf"; -- Gitee From c46dd23a99bd2ed3a62424d77ffedf0ae4e8a07d Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Fri, 16 Apr 2021 00:07:57 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java b/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java index 426dbc3..2e2219c 100644 --- a/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java +++ b/okhttps/src/main/java/com/ejlchina/okhttps/OkHttps.java @@ -12,7 +12,9 @@ import okhttp3.WebSocketListener; */ public final class OkHttps { + // 使用 x-www-form-urlencoded 表单格式 public static final String FORM = "form"; + // 使用 form-data 表单格式(一般上传文件时使用) public static final String FORM_DATA = "form-data"; public static final String JSON = "json"; public static final String XML = "xml"; -- Gitee From 798c5c4fc986dbcf6b8d3a89f48e7f885c608c0b Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Fri, 16 Apr 2021 09:04:46 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E4=B8=8D=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=EF=BC=8C=E5=8F=AF=E4=BB=A5=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=20form-data=20=E6=A0=BC=E5=BC=8F=E7=9A=84=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ejlchina/okhttps/HttpTask.java | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java b/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java index eca388f..00f96ca 100644 --- a/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java +++ b/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java @@ -627,16 +627,18 @@ public abstract class HttpTask> implements Cancelable { builder.addPart(MultipartBody.Part.createFormData(name, null, body)); } } - for (String name : files.keySet()) { - FilePara file = files.get(name); - MediaType type = httpClient.mediaType(file.type); - RequestBody bodyPart; - if (file.file != null) { - bodyPart = RequestBody.create(type, file.file); - } else { - bodyPart = RequestBody.create(type, file.content); + if (files != null) { + for (String name : files.keySet()) { + FilePara file = files.get(name); + MediaType type = httpClient.mediaType(file.type); + RequestBody bodyPart; + if (file.file != null) { + bodyPart = RequestBody.create(type, file.file); + } else { + bodyPart = RequestBody.create(type, file.content); + } + builder.addFormDataPart(name, file.fileName, bodyPart); } - builder.addFormDataPart(name, file.fileName, bodyPart); } return builder.build(); } -- Gitee From 65c726ac7f4e82b78542ba19152070a1822e76d8 Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Wed, 28 Apr 2021 21:28:42 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96=20ok?= =?UTF-8?q?io:=201.17.2=20->=201.17.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- okhttps/pom.xml | 5 +++++ pom.xml | 1 + 2 files changed, 6 insertions(+) diff --git a/okhttps/pom.xml b/okhttps/pom.xml index d20588a..4735f96 100644 --- a/okhttps/pom.xml +++ b/okhttps/pom.xml @@ -22,6 +22,11 @@ okhttp ${okhttp.version} + + com.squareup.okio + okio + ${okio.version} + com.squareup.okhttp3 mockwebserver diff --git a/pom.xml b/pom.xml index bdb35d3..434b6b5 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,7 @@ 1.8 1.0.0 3.14.9 + 1.17.5 2.8.6 1.2.75 2.11.3 -- Gitee From 8287916c39b4d1ef19ff7607ce5c918509e893dc Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Wed, 28 Apr 2021 21:41:47 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96=20fa?= =?UTF-8?q?stjson:=201.2.75=20->=201.2.76?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 434b6b5..e776029 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ 3.14.9 1.17.5 2.8.6 - 1.2.75 + 1.2.76 2.11.3 4.13.1 UTF-8 -- Gitee From bfe10bd8f36fc05c7e958cd5abbf396cab0ddc3f Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Wed, 28 Apr 2021 21:44:22 +0800 Subject: [PATCH 06/11] =?UTF-8?q?=E4=BC=98=E5=8C=96=20pom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pom.xml b/pom.xml index e776029..bd651f4 100644 --- a/pom.xml +++ b/pom.xml @@ -23,9 +23,6 @@ 1.0.0 3.14.9 1.17.5 - 2.8.6 - 1.2.76 - 2.11.3 4.13.1 UTF-8 https://oss.sonatype.org/content/repositories/snapshots/ -- Gitee From 9e106e6433eb65664cc88cb24ec1f6f8cf0df149 Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Wed, 28 Apr 2021 21:58:08 +0800 Subject: [PATCH 07/11] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=B7=BB=E5=8A=A0=E6=8A=A5=E6=96=87=E4=BD=93=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=97=B6=EF=BC=8CPOST=20=E8=AF=B7=E6=B1=82=E9=83=BD?= =?UTF-8?q?=E4=BC=9A=E4=BB=A5=20form=20=E8=A1=A8=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E5=BD=A2=E5=BC=8F=E6=8F=90=E4=BA=A4=20=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=9Ahttps://gitee.com/ejlchina-zhxu/okhttps/issues/I3OQ05?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ejlchina/okhttps/HttpTask.java | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java b/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java index 00f96ca..0ba1322 100644 --- a/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java +++ b/okhttps/src/main/java/com/ejlchina/okhttps/HttpTask.java @@ -646,7 +646,7 @@ public abstract class HttpTask> implements Cancelable { return toRequestBody(requestBody); } if (bodyParams == null) { - return new FormBody.Builder(charset).build(); + return emptyRequestBody(); } if (OkHttps.FORM.equalsIgnoreCase(bodyType)) { FormBody.Builder builder = new FormBody.Builder(charset); @@ -659,11 +659,22 @@ public abstract class HttpTask> implements Cancelable { return toRequestBody(bodyParams); } + private RequestBody emptyRequestBody() { + if (OkHttps.FORM_DATA.equalsIgnoreCase(bodyType)) { + return new MultipartBody.Builder().setType(MultipartBody.FORM).build(); + } + return RequestBody.create(mediaType(), new byte[]{}); + } + + private MediaType mediaType() { + String mediaType = httpClient.executor().doMsgConvert(bodyType, null).contentType; + return MediaType.parse(mediaType + "; charset=" + charset.name()); + } + private RequestBody toRequestBody(Object object) { if (object instanceof byte[] || object instanceof String) { - String mediaType = httpClient.executor().doMsgConvert(bodyType, null).contentType; byte[] body = object instanceof byte[] ? (byte[]) object : ((String) object).getBytes(charset); - return RequestBody.create(MediaType.parse(mediaType + "; charset=" + charset.name()), body); + return RequestBody.create(mediaType(), body); } TaskExecutor.Data data = httpClient.executor().doMsgConvert(bodyType, c -> c.serialize(object, charset)); return RequestBody.create(MediaType.parse(data.contentType + "; charset=" + charset.name()), data.data); -- Gitee From e5fcd319806ceb999211c1ddf6e0509389585963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=97=AD?= <15735559897@qq.com> Date: Thu, 29 Apr 2021 16:16:02 +0800 Subject: [PATCH 08/11] .. --- .../java/com/ejlchina/test/SimpleTests.java | 42 ++++++++++++------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/okhttps/src/test/java/com/ejlchina/test/SimpleTests.java b/okhttps/src/test/java/com/ejlchina/test/SimpleTests.java index 177b3ca..5c0645a 100644 --- a/okhttps/src/test/java/com/ejlchina/test/SimpleTests.java +++ b/okhttps/src/test/java/com/ejlchina/test/SimpleTests.java @@ -1,7 +1,11 @@ package com.ejlchina.test; import com.ejlchina.okhttps.HTTP; +import com.ejlchina.okhttps.OkHttps; +import okhttp3.mockwebserver.MockResponse; import okhttp3.mockwebserver.MockWebServer; +import org.junit.Assert; +import org.junit.Test; public class SimpleTests extends BaseTest { @@ -12,22 +16,31 @@ public class SimpleTests extends BaseTest { .baseUrl("http://" + server.getHostName() + ":" + server.getPort()) .build(); + @Test + public void testSyncPost() throws InterruptedException { + http.async("/").bodyType(OkHttps.JSON).post(); + Assert.assertEquals(server.takeRequest().getHeader("Content-Type"), "application/json; charset=UTF-8"); + http.async("/").bodyType(OkHttps.FORM).post(); + Assert.assertEquals(server.takeRequest().getHeader("Content-Type"), "application/x-www-form-urlencoded; charset=UTF-8"); + } + + /** * 同步请求示例 * 同步请求直接得到结果,无需设置回调 */ -// @Test -// public void testSyncToBean() { -// server.enqueue(new MockResponse().setBody("Hello World!")); -// -// JsonObj hello = http.sync("/users") // http://localhost:8080/users -// .get() // GET请求 -// .getBody() // 获取响应报文体 -// .toJsonObj(); // 得到目标数据 -// -// System.out.println("hello = " + hello); -// } - + @Test + public void testSyncToBean() { + server.enqueue(new MockResponse().setBody("Hello World!")); + + String hello = http.sync("/users") // http://localhost:8080/users + .get() // GET请求 + .getBody() // 获取响应报文体 + .toString(); // 得到目标数据 + + Assert.assertEquals(hello, "Hello World!"); + } + /** * 同步请求示例 * 同步请求直接得到结果,无需设置回调 @@ -38,12 +51,12 @@ public class SimpleTests extends BaseTest { // User u2 = new User(2, "Tom"); // List list = Arrays.asList(u1, u2); // server.enqueue(new MockResponse().setBody(JSON.toJSONString(list))); -// +// // List users = http.sync("/users") // http://localhost:8080/users // .get() // GET请求 // .getBody() // 获取响应报文体 // .toList(User.class); // 得到目标数据 -// +// // assertEquals(u1, users.get(0)); // assertEquals(u2, users.get(1)); // } @@ -98,7 +111,6 @@ public class SimpleTests extends BaseTest { // System.out.println("size = " + (size / 1024) + " KB"); // } - } -- Gitee From 54dbbe201eaf1a02bbaf0a2d2c713c00c45cf70a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=97=AD?= <15735559897@qq.com> Date: Thu, 29 Apr 2021 16:29:47 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96=20da?= =?UTF-8?q?ta=20:=201.0.0=20->=201.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bd651f4..dc7b656 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ 1.8 - 1.0.0 + 1.0.1 3.14.9 1.17.5 4.13.1 -- Gitee From a6b697c044dd0d5d2faac78be950df79989cbe5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=97=AD?= <15735559897@qq.com> Date: Thu, 29 Apr 2021 16:31:24 +0800 Subject: [PATCH 10/11] v3.0.2 --- okhttps-fastjson/pom.xml | 2 +- okhttps-gson/pom.xml | 2 +- okhttps-jackson/pom.xml | 2 +- okhttps-stomp/pom.xml | 2 +- okhttps-test/pom.xml | 2 +- okhttps-xml/pom.xml | 2 +- okhttps/pom.xml | 2 +- pom.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/okhttps-fastjson/pom.xml b/okhttps-fastjson/pom.xml index 2a471f0..0391de9 100644 --- a/okhttps-fastjson/pom.xml +++ b/okhttps-fastjson/pom.xml @@ -8,7 +8,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 diff --git a/okhttps-gson/pom.xml b/okhttps-gson/pom.xml index 7031033..1f6976b 100644 --- a/okhttps-gson/pom.xml +++ b/okhttps-gson/pom.xml @@ -8,7 +8,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 diff --git a/okhttps-jackson/pom.xml b/okhttps-jackson/pom.xml index 0ab3c51..520dc52 100644 --- a/okhttps-jackson/pom.xml +++ b/okhttps-jackson/pom.xml @@ -8,7 +8,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 diff --git a/okhttps-stomp/pom.xml b/okhttps-stomp/pom.xml index c1ec443..e284acf 100644 --- a/okhttps-stomp/pom.xml +++ b/okhttps-stomp/pom.xml @@ -8,7 +8,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 diff --git a/okhttps-test/pom.xml b/okhttps-test/pom.xml index 491fa12..84acb8d 100644 --- a/okhttps-test/pom.xml +++ b/okhttps-test/pom.xml @@ -8,7 +8,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 diff --git a/okhttps-xml/pom.xml b/okhttps-xml/pom.xml index 73cbcb5..c1ee0c3 100644 --- a/okhttps-xml/pom.xml +++ b/okhttps-xml/pom.xml @@ -8,7 +8,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 diff --git a/okhttps/pom.xml b/okhttps/pom.xml index 4735f96..4d736ff 100644 --- a/okhttps/pom.xml +++ b/okhttps/pom.xml @@ -8,7 +8,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 diff --git a/pom.xml b/pom.xml index dc7b656..7e9be2f 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.ejlchina okhttps-parent - 3.0.1 + 3.0.2 OkHttps pom -- Gitee From 87cacdcbfaf2a2c82358e47c9baa07da7b2d580c Mon Sep 17 00:00:00 2001 From: ZhouXu Date: Fri, 30 Apr 2021 11:04:43 +0800 Subject: [PATCH 11/11] v3.0.2 in README.md --- README.md | 12 ++++++------ okhttps-fastjson/README.md | 4 ++-- okhttps-gson/README.md | 4 ++-- okhttps-jackson/README.md | 4 ++-- okhttps-stomp/README.md | 4 ++-- okhttps-xml/README.md | 4 ++-- okhttps/README.md | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index fbcef6c..340545b 100644 --- a/README.md +++ b/README.md @@ -92,12 +92,12 @@ Websocket 方法: 项目 | 最新版本 | 描述 -|-|- -[okhttps](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps) | 3.0.1 | OkHttps 核心模块 -[okhttps-fastjson](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-fastjson) | 3.0.1 | 与 fastjson 集成 -[okhttps-gson](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-gson) | 3.0.1 | 与 gson 集成 -[okhttps-jackson](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-jackson) | 3.0.1 | 与 jackson 集成 -[okhttps-stomp](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-stomp) | 3.0.1 | 超级轻量的 Stomp 客户端 -[okhttps-xml](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-xml) | 3.0.1 | XML 解析扩展 +[okhttps](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps) | 3.0.2 | OkHttps 核心模块 +[okhttps-fastjson](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-fastjson) | 3.0.2 | 与 fastjson 集成 +[okhttps-gson](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-gson) | 3.0.2 | 与 gson 集成 +[okhttps-jackson](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-jackson) | 3.0.2 | 与 jackson 集成 +[okhttps-stomp](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-stomp) | 3.0.2 | 超级轻量的 Stomp 客户端 +[okhttps-xml](https://gitee.com/ejlchina-zhxu/okhttps/tree/dev/okhttps-xml) | 3.0.2 | XML 解析扩展 [okhttps-parallel](https://gitee.com/ejlchina-zhxu/okhttps-parallel) | 2.5.1 | 同文件多任务并行下载 ## 超详细教程,请查看:https://okhttps.ejlchina.com/ diff --git a/okhttps-fastjson/README.md b/okhttps-fastjson/README.md index ed012d5..da1eead 100644 --- a/okhttps-fastjson/README.md +++ b/okhttps-fastjson/README.md @@ -11,14 +11,14 @@ com.ejlchina okhttps-fastjson - 3.0.1 + 3.0.2 ``` ##### Gradle ```groovy -implementation 'com.ejlchina:okhttps-fastjson:3.0.1' +implementation 'com.ejlchina:okhttps-fastjson:3.0.2' ``` #### 更多请参阅 [http://okhttps.ejlchina.com/](http://okhttps.ejlchina.com/) diff --git a/okhttps-gson/README.md b/okhttps-gson/README.md index df1d8a1..9e35104 100644 --- a/okhttps-gson/README.md +++ b/okhttps-gson/README.md @@ -11,14 +11,14 @@ com.ejlchina okhttps-gson - 3.0.1 + 3.0.2 ``` ##### Gradle ```groovy -implementation 'com.ejlchina:okhttps-gson:3.0.1' +implementation 'com.ejlchina:okhttps-gson:3.0.2' ``` #### 更多请参阅 [http://okhttps.ejlchina.com/](http://okhttps.ejlchina.com/) diff --git a/okhttps-jackson/README.md b/okhttps-jackson/README.md index f32536d..332cb99 100644 --- a/okhttps-jackson/README.md +++ b/okhttps-jackson/README.md @@ -11,14 +11,14 @@ com.ejlchina okhttps-jackson - 3.0.1 + 3.0.2 ``` ##### Gradle ```groovy -implementation 'com.ejlchina:okhttps-jackson:3.0.1' +implementation 'com.ejlchina:okhttps-jackson:3.0.2' ``` #### 更多请参阅 [http://okhttps.ejlchina.com/](http://okhttps.ejlchina.com/) diff --git a/okhttps-stomp/README.md b/okhttps-stomp/README.md index fb922a1..b35b84d 100644 --- a/okhttps-stomp/README.md +++ b/okhttps-stomp/README.md @@ -11,14 +11,14 @@ com.ejlchina okhttps-stomp - 3.0.1 + 3.0.2 ``` ##### Gradle ```groovy -implementation 'com.ejlchina:okhttps-stomp:3.0.1' +implementation 'com.ejlchina:okhttps-stomp:3.0.2' ``` #### 更多请参阅 [http://okhttps.ejlchina.com/v2/stomp.html](http://okhttps.ejlchina.com/v2/stomp.html) diff --git a/okhttps-xml/README.md b/okhttps-xml/README.md index af6f0d0..a2ad341 100644 --- a/okhttps-xml/README.md +++ b/okhttps-xml/README.md @@ -11,14 +11,14 @@ com.ejlchina okhttps-xml - 3.0.1 + 3.0.2 ``` ##### Gradle ```groovy -implementation 'com.ejlchina:okhttps-xml:3.0.1' +implementation 'com.ejlchina:okhttps-xml:3.0.2' ``` #### 更多请参阅 [http://okhttps.ejlchina.com/](http://okhttps.ejlchina.com/) diff --git a/okhttps/README.md b/okhttps/README.md index b31ea1f..3e4fd84 100644 --- a/okhttps/README.md +++ b/okhttps/README.md @@ -11,14 +11,14 @@ com.ejlchina okhttps - 3.0.1 + 3.0.2 ``` ##### Gradle ```groovy -implementation 'com.ejlchina:okhttps:3.0.1' +implementation 'com.ejlchina:okhttps:3.0.2' ``` #### 更多请参阅 [http://okhttps.ejlchina.com/](http://okhttps.ejlchina.com/) -- Gitee