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 voidclose()voidconnect(SocketAddress endpoint)voidconnect(SocketAddress endpoint, int timeout)voidshutdownInput()voidshutdownOutput()-
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:
connectin classDelegateSslSocket- Throws:
IOException
-
connect
public void connect(SocketAddress endpoint, int timeout) throws IOException
- Overrides:
connectin classDelegateSslSocket- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classDelegateSslSocket- Throws:
IOException
-
shutdownInput
public void shutdownInput() throws IOException- Overrides:
shutdownInputin classDelegateSslSocket- Throws:
IOException
-
shutdownOutput
public void shutdownOutput() throws IOException- Overrides:
shutdownOutputin classDelegateSslSocket- Throws:
IOException
-
-