com.atlassian.bamboo.agent.elastic.tunnel.http
Class SSLSocketDecorator
java.lang.Object
java.net.Socket
javax.net.ssl.SSLSocket
com.atlassian.bamboo.agent.elastic.tunnel.http.SSLSocketDelegate
com.atlassian.bamboo.agent.elastic.tunnel.http.SSLSocketDecorator
public class SSLSocketDecorator
- extends SSLSocketDelegate
Decorates an unconnected socket with SSL functionality.
Methods inherited from class com.atlassian.bamboo.agent.elastic.tunnel.http.SSLSocketDelegate |
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, toString |
SSLSocketDecorator
public SSLSocketDecorator(@NotNull
Socket socket,
@NotNull
SSLContext sslContext)
getSecureSocketDelegate
protected SSLSocket getSecureSocketDelegate()
- Specified by:
getSecureSocketDelegate
in class SSLSocketDelegate
getSslSocketFactory
protected SSLSocketFactory getSslSocketFactory()
- Specified by:
getSslSocketFactory
in class SSLSocketDelegate
getSupportedProtocols
public String[] getSupportedProtocols()
- Specified by:
getSupportedProtocols
in class SSLSocketDelegate
getEnabledProtocols
public String[] getEnabledProtocols()
- Specified by:
getEnabledProtocols
in class SSLSocketDelegate
connect
public void connect(SocketAddress endpoint,
int timeout)
throws IOException
- Overrides:
connect
in class SSLSocketDelegate
- Throws:
IOException
close
public void close()
throws IOException
- Overrides:
close
in class SSLSocketDelegate
- Throws:
IOException
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.