From 570794b45497a3da4bdc91ac9690e450c216b660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=A6=95?= Date: Wed, 4 Nov 2020 19:18:27 +0800 Subject: [PATCH 1/3] =?UTF-8?q?Week03=20=E4=BD=9C=E4=B8=9A=E9=A2=98?= =?UTF-8?q?=E7=9B=AE=EF=BC=88=E5=91=A8=E5=9B=9B=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02nio/nio02/pom.xml | 14 +++- .../gateway/NettyServerApplication.java | 2 +- .../gateway/inbound/HttpInboundHandler.java | 5 +- .../httpclient4/HttpOutboundHandler.java | 3 +- .../okhttp/HutoolhttpOutboundHandler.java | 81 +++++++++++++++++++ .../okhttp/OkhttpOutboundHandler.java | 4 - 6 files changed, 100 insertions(+), 9 deletions(-) create mode 100644 02nio/nio02/src/main/java/io/github/kimmking/gateway/outbound/okhttp/HutoolhttpOutboundHandler.java delete mode 100644 02nio/nio02/src/main/java/io/github/kimmking/gateway/outbound/okhttp/OkhttpOutboundHandler.java diff --git a/02nio/nio02/pom.xml b/02nio/nio02/pom.xml index 6cbbeffd..960654ba 100644 --- a/02nio/nio02/pom.xml +++ b/02nio/nio02/pom.xml @@ -52,7 +52,19 @@ httpasyncclient 4.1.4 - + + + org.apache.httpcomponents + httpasyncclient + 4.1.4 + + + + + cn.hutool + hutool-all + 5.3.9 +