Class DelegateSslSocket
- java.lang.Object
- 
- java.net.Socket
- 
- javax.net.ssl.SSLSocket
- 
- software.amazon.awssdk.http.apache.internal.net.DelegateSslSocket
 
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 - Direct Known Subclasses:
- InputShutdownCheckingSslSocket,- SdkSslSocket
 
 public class DelegateSslSocket extends SSLSocket 
- 
- 
Constructor SummaryConstructors Constructor Description DelegateSslSocket(SSLSocket sock)
 - 
Method Summary- 
Methods inherited from class javax.net.ssl.SSLSocketgetApplicationProtocol, getHandshakeApplicationProtocol, getHandshakeApplicationProtocolSelector, getHandshakeSession, getSSLParameters, setHandshakeApplicationProtocolSelector, setSSLParameters
 - 
Methods inherited from class java.net.SocketsetSocketImplFactory
 
- 
 
- 
- 
- 
Field Detail- 
sockprotected final SSLSocket sock 
 
- 
 - 
Constructor Detail- 
DelegateSslSocketpublic DelegateSslSocket(SSLSocket sock) 
 
- 
 - 
Method Detail- 
connectpublic void connect(SocketAddress endpoint) throws IOException - Overrides:
- connectin class- Socket
- Throws:
- IOException
 
 - 
connectpublic void connect(SocketAddress endpoint, int timeout) throws IOException - Overrides:
- connectin class- Socket
- Throws:
- IOException
 
 - 
bindpublic void bind(SocketAddress bindpoint) throws IOException - Overrides:
- bindin class- Socket
- Throws:
- IOException
 
 - 
getInetAddresspublic InetAddress getInetAddress() - Overrides:
- getInetAddressin class- Socket
 
 - 
getLocalAddresspublic InetAddress getLocalAddress() - Overrides:
- getLocalAddressin class- Socket
 
 - 
getLocalPortpublic int getLocalPort() - Overrides:
- getLocalPortin class- Socket
 
 - 
getRemoteSocketAddresspublic SocketAddress getRemoteSocketAddress() - Overrides:
- getRemoteSocketAddressin class- Socket
 
 - 
getLocalSocketAddresspublic SocketAddress getLocalSocketAddress() - Overrides:
- getLocalSocketAddressin class- Socket
 
 - 
getChannelpublic SocketChannel getChannel() - Overrides:
- getChannelin class- Socket
 
 - 
getInputStreampublic InputStream getInputStream() throws IOException - Overrides:
- getInputStreamin class- Socket
- Throws:
- IOException
 
 - 
getOutputStreampublic OutputStream getOutputStream() throws IOException - Overrides:
- getOutputStreamin class- Socket
- Throws:
- IOException
 
 - 
setTcpNoDelaypublic void setTcpNoDelay(boolean on) throws SocketException- Overrides:
- setTcpNoDelayin class- Socket
- Throws:
- SocketException
 
 - 
getTcpNoDelaypublic boolean getTcpNoDelay() throws SocketException- Overrides:
- getTcpNoDelayin class- Socket
- Throws:
- SocketException
 
 - 
setSoLingerpublic void setSoLinger(boolean on, int linger) throws SocketException- Overrides:
- setSoLingerin class- Socket
- Throws:
- SocketException
 
 - 
getSoLingerpublic int getSoLinger() throws SocketException- Overrides:
- getSoLingerin class- Socket
- Throws:
- SocketException
 
 - 
sendUrgentDatapublic void sendUrgentData(int data) throws IOException- Overrides:
- sendUrgentDatain class- Socket
- Throws:
- IOException
 
 - 
setOOBInlinepublic void setOOBInline(boolean on) throws SocketException- Overrides:
- setOOBInlinein class- Socket
- Throws:
- SocketException
 
 - 
getOOBInlinepublic boolean getOOBInline() throws SocketException- Overrides:
- getOOBInlinein class- Socket
- Throws:
- SocketException
 
 - 
setSoTimeoutpublic void setSoTimeout(int timeout) throws SocketException- Overrides:
- setSoTimeoutin class- Socket
- Throws:
- SocketException
 
 - 
getSoTimeoutpublic int getSoTimeout() throws SocketException- Overrides:
- getSoTimeoutin class- Socket
- Throws:
- SocketException
 
 - 
setSendBufferSizepublic void setSendBufferSize(int size) throws SocketException- Overrides:
- setSendBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
getSendBufferSizepublic int getSendBufferSize() throws SocketException- Overrides:
- getSendBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
setReceiveBufferSizepublic void setReceiveBufferSize(int size) throws SocketException- Overrides:
- setReceiveBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
getReceiveBufferSizepublic int getReceiveBufferSize() throws SocketException- Overrides:
- getReceiveBufferSizein class- Socket
- Throws:
- SocketException
 
 - 
setKeepAlivepublic void setKeepAlive(boolean on) throws SocketException- Overrides:
- setKeepAlivein class- Socket
- Throws:
- SocketException
 
 - 
getKeepAlivepublic boolean getKeepAlive() throws SocketException- Overrides:
- getKeepAlivein class- Socket
- Throws:
- SocketException
 
 - 
setTrafficClasspublic void setTrafficClass(int tc) throws SocketException- Overrides:
- setTrafficClassin class- Socket
- Throws:
- SocketException
 
 - 
getTrafficClasspublic int getTrafficClass() throws SocketException- Overrides:
- getTrafficClassin class- Socket
- Throws:
- SocketException
 
 - 
setReuseAddresspublic void setReuseAddress(boolean on) throws SocketException- Overrides:
- setReuseAddressin class- Socket
- Throws:
- SocketException
 
 - 
getReuseAddresspublic boolean getReuseAddress() throws SocketException- Overrides:
- getReuseAddressin class- Socket
- Throws:
- SocketException
 
 - 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- Socket
- Throws:
- IOException
 
 - 
shutdownInputpublic void shutdownInput() throws IOException- Overrides:
- shutdownInputin class- Socket
- Throws:
- IOException
 
 - 
shutdownOutputpublic void shutdownOutput() throws IOException- Overrides:
- shutdownOutputin class- Socket
- Throws:
- IOException
 
 - 
isConnectedpublic boolean isConnected() - Overrides:
- isConnectedin class- Socket
 
 - 
isInputShutdownpublic boolean isInputShutdown() - Overrides:
- isInputShutdownin class- Socket
 
 - 
isOutputShutdownpublic boolean isOutputShutdown() - Overrides:
- isOutputShutdownin class- Socket
 
 - 
setPerformancePreferencespublic void setPerformancePreferences(int connectionTime, int latency, int bandwidth)- Overrides:
- setPerformancePreferencesin class- Socket
 
 - 
getSupportedCipherSuitespublic String[] getSupportedCipherSuites() - Specified by:
- getSupportedCipherSuitesin class- SSLSocket
 
 - 
getEnabledCipherSuitespublic String[] getEnabledCipherSuites() - Specified by:
- getEnabledCipherSuitesin class- SSLSocket
 
 - 
setEnabledCipherSuitespublic void setEnabledCipherSuites(String[] suites) - Specified by:
- setEnabledCipherSuitesin class- SSLSocket
 
 - 
getSupportedProtocolspublic String[] getSupportedProtocols() - Specified by:
- getSupportedProtocolsin class- SSLSocket
 
 - 
getEnabledProtocolspublic String[] getEnabledProtocols() - Specified by:
- getEnabledProtocolsin class- SSLSocket
 
 - 
setEnabledProtocolspublic void setEnabledProtocols(String[] protocols) - Specified by:
- setEnabledProtocolsin class- SSLSocket
 
 - 
getSessionpublic SSLSession getSession() - Specified by:
- getSessionin class- SSLSocket
 
 - 
addHandshakeCompletedListenerpublic void addHandshakeCompletedListener(HandshakeCompletedListener listener) - Specified by:
- addHandshakeCompletedListenerin class- SSLSocket
 
 - 
removeHandshakeCompletedListenerpublic void removeHandshakeCompletedListener(HandshakeCompletedListener listener) - Specified by:
- removeHandshakeCompletedListenerin class- SSLSocket
 
 - 
startHandshakepublic void startHandshake() throws IOException- Specified by:
- startHandshakein class- SSLSocket
- Throws:
- IOException
 
 - 
setUseClientModepublic void setUseClientMode(boolean mode) - Specified by:
- setUseClientModein class- SSLSocket
 
 - 
getUseClientModepublic boolean getUseClientMode() - Specified by:
- getUseClientModein class- SSLSocket
 
 - 
setNeedClientAuthpublic void setNeedClientAuth(boolean need) - Specified by:
- setNeedClientAuthin class- SSLSocket
 
 - 
getNeedClientAuthpublic boolean getNeedClientAuth() - Specified by:
- getNeedClientAuthin class- SSLSocket
 
 - 
setWantClientAuthpublic void setWantClientAuth(boolean want) - Specified by:
- setWantClientAuthin class- SSLSocket
 
 - 
getWantClientAuthpublic boolean getWantClientAuth() - Specified by:
- getWantClientAuthin class- SSLSocket
 
 - 
setEnableSessionCreationpublic void setEnableSessionCreation(boolean flag) - Specified by:
- setEnableSessionCreationin class- SSLSocket
 
 - 
getEnableSessionCreationpublic boolean getEnableSessionCreation() - Specified by:
- getEnableSessionCreationin class- SSLSocket
 
 
- 
 
-