Class SdkSslSocket
- java.lang.Object
-
- java.net.Socket
-
- javax.net.ssl.SSLSocket
-
- software.amazon.awssdk.http.apache.internal.net.DelegateSslSocket
-
- software.amazon.awssdk.http.apache.internal.net.SdkSslSocket
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SdkSslSocket extends DelegateSslSocket
-
-
Field Summary
-
Fields inherited from class software.amazon.awssdk.http.apache.internal.net.DelegateSslSocket
sock
-
-
Constructor Summary
Constructors Constructor Description SdkSslSocket(SSLSocket sock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
connect(SocketAddress endpoint)
void
connect(SocketAddress endpoint, int timeout)
void
shutdownInput()
void
shutdownOutput()
-
Methods inherited from class software.amazon.awssdk.http.apache.internal.net.DelegateSslSocket
addHandshakeCompletedListener, bind, getChannel, getEnabledCipherSuites, getEnabledProtocols, getEnableSessionCreation, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getNeedClientAuth, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSession, getSoLinger, getSoTimeout, getSupportedCipherSuites, getSupportedProtocols, getTcpNoDelay, getTrafficClass, getUseClientMode, getWantClientAuth, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, removeHandshakeCompletedListener, sendUrgentData, setEnabledCipherSuites, setEnabledProtocols, setEnableSessionCreation, setKeepAlive, setNeedClientAuth, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, setUseClientMode, setWantClientAuth, startHandshake, toString
-
Methods inherited from class javax.net.ssl.SSLSocket
getApplicationProtocol, getHandshakeApplicationProtocol, getHandshakeApplicationProtocolSelector, getHandshakeSession, getSSLParameters, setHandshakeApplicationProtocolSelector, setSSLParameters
-
Methods inherited from class java.net.Socket
setSocketImplFactory
-
-
-
-
Constructor Detail
-
SdkSslSocket
public SdkSslSocket(SSLSocket sock)
-
-
Method Detail
-
connect
public void connect(SocketAddress endpoint) throws IOException
- Overrides:
connect
in classDelegateSslSocket
- Throws:
IOException
-
connect
public void connect(SocketAddress endpoint, int timeout) throws IOException
- Overrides:
connect
in classDelegateSslSocket
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classDelegateSslSocket
- Throws:
IOException
-
shutdownInput
public void shutdownInput() throws IOException
- Overrides:
shutdownInput
in classDelegateSslSocket
- Throws:
IOException
-
shutdownOutput
public void shutdownOutput() throws IOException
- Overrides:
shutdownOutput
in classDelegateSslSocket
- Throws:
IOException
-
-