Class SdkTlsSocketFactory
java.lang.Object
org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy
software.amazon.awssdk.http.apache5.internal.conn.SdkTlsSocketFactory
- All Implemented Interfaces:
org.apache.hc.client5.http.ssl.TlsSocketStrategy
,org.apache.hc.core5.http.nio.ssl.TlsStrategy
public class SdkTlsSocketFactory
extends org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy
-
Constructor Summary
ConstructorsConstructorDescriptionSdkTlsSocketFactory
(SSLContext sslContext, HostnameVerifier hostnameVerifier) -
Method Summary
Modifier and TypeMethodDescriptionupgrade
(Socket socket, String target, int port, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context) boolean
upgrade
(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer arg0, org.apache.hc.core5.http.HttpHost arg1, SocketAddress arg2, SocketAddress arg3, Object arg4, org.apache.hc.core5.util.Timeout arg5) Deprecated.void
upgrade
(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer arg0, org.apache.hc.core5.net.NamedEndpoint arg1, Object arg2, org.apache.hc.core5.util.Timeout arg3, org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.ssl.TransportSecurityLayer> arg4) Methods inherited from class org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy
createDefault, createSystemDefault, getDefault, getSystemDefault
-
Constructor Details
-
SdkTlsSocketFactory
-
-
Method Details
-
upgrade
public SSLSocket upgrade(Socket socket, String target, int port, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context) throws IOException - Specified by:
upgrade
in interfaceorg.apache.hc.client5.http.ssl.TlsSocketStrategy
- Throws:
IOException
-
upgrade
@Deprecated public boolean upgrade(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer arg0, org.apache.hc.core5.http.HttpHost arg1, SocketAddress arg2, SocketAddress arg3, Object arg4, org.apache.hc.core5.util.Timeout arg5) Deprecated.- Specified by:
upgrade
in interfaceorg.apache.hc.core5.http.nio.ssl.TlsStrategy
-
upgrade
public void upgrade(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer arg0, org.apache.hc.core5.net.NamedEndpoint arg1, Object arg2, org.apache.hc.core5.util.Timeout arg3, org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.ssl.TransportSecurityLayer> arg4) - Specified by:
upgrade
in interfaceorg.apache.hc.core5.http.nio.ssl.TlsStrategy
-