|
|
|
@ -27,18 +27,18 @@ import java.util.UUID;
@@ -27,18 +27,18 @@ import java.util.UUID;
|
|
|
|
|
|
|
|
|
|
import javax.net.ssl.SSLContext; |
|
|
|
|
|
|
|
|
|
import org.apache.http.config.Registry; |
|
|
|
|
import org.apache.http.config.RegistryBuilder; |
|
|
|
|
import org.apache.http.conn.HttpClientConnectionManager; |
|
|
|
|
import org.apache.http.conn.socket.ConnectionSocketFactory; |
|
|
|
|
import org.apache.http.conn.socket.PlainConnectionSocketFactory; |
|
|
|
|
import org.apache.http.conn.ssl.NoopHostnameVerifier; |
|
|
|
|
import org.apache.http.conn.ssl.SSLConnectionSocketFactory; |
|
|
|
|
import org.apache.http.conn.ssl.TrustStrategy; |
|
|
|
|
import org.apache.http.impl.client.CloseableHttpClient; |
|
|
|
|
import org.apache.http.impl.client.HttpClients; |
|
|
|
|
import org.apache.http.impl.conn.BasicHttpClientConnectionManager; |
|
|
|
|
import org.apache.http.ssl.SSLContexts; |
|
|
|
|
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient; |
|
|
|
|
import org.apache.hc.client5.http.impl.classic.HttpClients; |
|
|
|
|
import org.apache.hc.client5.http.impl.io.BasicHttpClientConnectionManager; |
|
|
|
|
import org.apache.hc.client5.http.io.HttpClientConnectionManager; |
|
|
|
|
import org.apache.hc.client5.http.socket.ConnectionSocketFactory; |
|
|
|
|
import org.apache.hc.client5.http.socket.PlainConnectionSocketFactory; |
|
|
|
|
import org.apache.hc.client5.http.ssl.NoopHostnameVerifier; |
|
|
|
|
import org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory; |
|
|
|
|
import org.apache.hc.core5.http.config.Registry; |
|
|
|
|
import org.apache.hc.core5.http.config.RegistryBuilder; |
|
|
|
|
import org.apache.hc.core5.ssl.SSLContexts; |
|
|
|
|
import org.apache.hc.core5.ssl.TrustStrategy; |
|
|
|
|
|
|
|
|
|
import org.springframework.http.HttpEntity; |
|
|
|
|
import org.springframework.http.HttpMethod; |
|
|
|
|