public class SSLSocketDecorator extends SSLSocketDelegate
enabledCipherSuites, enabledProtocols, keepAlive, tcpNoDelay| Constructor and Description |
|---|
SSLSocketDecorator(Socket socket,
SSLContext sslContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(SocketAddress endpoint,
int timeout) |
String[] |
getEnabledProtocols() |
protected SSLSocket |
getSecureSocketDelegate() |
protected SSLSocketFactory |
getSslSocketFactory() |
String[] |
getSupportedProtocols() |
addHandshakeCompletedListener, bind, connect, getChannel, getEnabledCipherSuites, getEnableSessionCreation, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getNeedClientAuth, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSession, getSoLinger, getSoTimeout, getSSLParameters, getSupportedCipherSuites, getTcpNoDelay, getTrafficClass, getUseClientMode, getWantClientAuth, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, removeHandshakeCompletedListener, sendUrgentData, setEnabledCipherSuites, setEnabledProtocols, setEnableSessionCreation, setKeepAlive, setNeedClientAuth, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoTimeout, setSSLParameters, setTcpNoDelay, setTrafficClass, setUseClientMode, setWantClientAuth, shutdownInput, shutdownOutput, startHandshake, toStringgetHandshakeSessionsetSocketImplFactorypublic SSLSocketDecorator(@NotNull
Socket socket,
@NotNull
SSLContext sslContext)
protected SSLSocket getSecureSocketDelegate()
getSecureSocketDelegate in class SSLSocketDelegateprotected SSLSocketFactory getSslSocketFactory()
getSslSocketFactory in class SSLSocketDelegatepublic String[] getSupportedProtocols()
getSupportedProtocols in class SSLSocketDelegatepublic String[] getEnabledProtocols()
getEnabledProtocols in class SSLSocketDelegatepublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect in class SSLSocketDelegateIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SSLSocketDelegateIOExceptionCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.