Class HTTPClientPool
- java.lang.Object
-
- org.apache.eventmesh.runtime.core.protocol.http.push.HTTPClientPool
-
public class HTTPClientPool extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHTTPClientPool.TheTrustStrategy
-
Field Summary
Fields Modifier and Type Field Description org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description HTTPClientPool(int core)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.impl.client.CloseableHttpClientgetClient()org.apache.http.impl.client.CloseableHttpClientgetHttpClient(int maxTotal, int idleTimeInSeconds, javax.net.ssl.SSLContext sslContext)voidshutdown()
-
-
-
Method Detail
-
getClient
public org.apache.http.impl.client.CloseableHttpClient getClient()
-
shutdown
public void shutdown() throws java.lang.Exception- Throws:
java.lang.Exception
-
getHttpClient
public org.apache.http.impl.client.CloseableHttpClient getHttpClient(int maxTotal, int idleTimeInSeconds, javax.net.ssl.SSLContext sslContext)
-
-