From b71f62bfc26bed116699fe52b34254b3e62bb984 Mon Sep 17 00:00:00 2001 From: "Cloud.Liu" Date: Sun, 25 Jun 2023 11:45:59 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-98773=20fix:=20fine-spring=E4=B8=AD?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=9C=AA=E7=94=A8=E5=88=B0=E7=9A=84=E7=B1=BB?= =?UTF-8?q?=E4=BF=AE=E6=94=B9import=E5=8C=85=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HttpComponentsAsyncClientHttpRequest.java | 16 +++++++-------- ...mponentsAsyncClientHttpRequestFactory.java | 20 +++++++++---------- ...HttpComponentsAsyncClientHttpResponse.java | 6 +++--- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequest.java b/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequest.java index b96340e45..730df1863 100644 --- a/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequest.java +++ b/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequest.java @@ -20,14 +20,14 @@ import java.io.IOException; import java.net.URI; import java.util.concurrent.Future; -import com.fr.third.org.apache.http.HttpEntity; -import com.fr.third.org.apache.http.HttpEntityEnclosingRequest; -import com.fr.third.org.apache.http.HttpResponse; -import com.fr.third.org.apache.http.client.methods.HttpUriRequest; -import com.fr.third.org.apache.http.concurrent.FutureCallback; -import com.fr.third.org.apache.http.nio.client.HttpAsyncClient; -import com.fr.third.org.apache.http.nio.entity.NByteArrayEntity; -import com.fr.third.org.apache.http.protocol.HttpContext; +import org.apache.http.HttpEntity; +import org.apache.http.HttpEntityEnclosingRequest; +import org.apache.http.HttpResponse; +import org.apache.http.client.methods.HttpUriRequest; +import org.apache.http.concurrent.FutureCallback; +import org.apache.http.nio.client.HttpAsyncClient; +import org.apache.http.nio.entity.NByteArrayEntity; +import org.apache.http.protocol.HttpContext; import com.fr.third.springframework.http.HttpHeaders; import com.fr.third.springframework.http.HttpMethod; diff --git a/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory.java b/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory.java index 8bab09fba..ecbf3a81f 100644 --- a/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory.java +++ b/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory.java @@ -20,16 +20,16 @@ import java.io.Closeable; import java.io.IOException; import java.net.URI; -import com.fr.third.org.apache.http.client.HttpClient; -import com.fr.third.org.apache.http.client.config.RequestConfig; -import com.fr.third.org.apache.http.client.methods.Configurable; -import com.fr.third.org.apache.http.client.methods.HttpUriRequest; -import com.fr.third.org.apache.http.client.protocol.HttpClientContext; -import com.fr.third.org.apache.http.impl.client.CloseableHttpClient; -import com.fr.third.org.apache.http.impl.nio.client.CloseableHttpAsyncClient; -import com.fr.third.org.apache.http.impl.nio.client.HttpAsyncClients; -import com.fr.third.org.apache.http.nio.client.HttpAsyncClient; -import com.fr.third.org.apache.http.protocol.HttpContext; +import org.apache.http.client.HttpClient; +import org.apache.http.client.config.RequestConfig; +import org.apache.http.client.methods.Configurable; +import org.apache.http.client.methods.HttpUriRequest; +import org.apache.http.client.protocol.HttpClientContext; +import org.apache.http.impl.client.CloseableHttpClient; +import org.apache.http.impl.nio.client.CloseableHttpAsyncClient; +import org.apache.http.impl.nio.client.HttpAsyncClients; +import org.apache.http.nio.client.HttpAsyncClient; +import org.apache.http.protocol.HttpContext; import com.fr.third.springframework.beans.factory.InitializingBean; import com.fr.third.springframework.http.HttpMethod; diff --git a/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpResponse.java b/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpResponse.java index de8304577..b4849b56b 100644 --- a/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpResponse.java +++ b/fine-spring/src/main/java/com/fr/third/springframework/http/client/HttpComponentsAsyncClientHttpResponse.java @@ -19,9 +19,9 @@ package com.fr.third.springframework.http.client; import java.io.IOException; import java.io.InputStream; -import com.fr.third.org.apache.http.Header; -import com.fr.third.org.apache.http.HttpEntity; -import com.fr.third.org.apache.http.HttpResponse; +import org.apache.http.Header; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; import com.fr.third.springframework.http.HttpHeaders; import com.fr.third.springframework.util.StreamUtils;