|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Decorates an unconnected socket with SSL functionality.
Constructor Summary | |
---|---|
SSLSocketDecorator(java.net.Socket socket,
javax.net.ssl.SSLSocketFactory secureSocketFactory)
|
Method Summary | |
---|---|
void |
close()
|
void |
connect(java.net.SocketAddress remoteAddress,
int timeout)
|
protected javax.net.ssl.SSLSocket |
getSecureSocketDelegate()
|
Methods inherited from class java.net.Socket |
---|
setSocketImplFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SSLSocketDecorator(java.net.Socket socket, javax.net.ssl.SSLSocketFactory secureSocketFactory)
Method Detail |
---|
protected javax.net.ssl.SSLSocket getSecureSocketDelegate()
getSecureSocketDelegate
in class SSLSocketDelegate
public void connect(java.net.SocketAddress remoteAddress, int timeout) throws java.io.IOException
connect
in class SSLSocketDelegate
java.io.IOException
public void close() throws java.io.IOException
close
in class SSLSocketDelegate
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |