
public interface SslChannel extends CloseableChannel
| Modifier and Type | Method and Description |
|---|---|
ChannelListener.Setter<? extends SslChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends SslChannel> |
getHandshakeSetter()
Get the setter which can be used to change the handshake listener for this channel.
|
javax.net.ssl.SSLSession |
getSslSession()
Get the current
SSLSession for this channel. |
void |
startHandshake()
Start or restart the SSL/TLS handshake.
|
close, getWorkergetOption, setOption, supportsOptionvoid startHandshake()
throws java.io.IOException
java.io.IOException - if an I/O error occursjavax.net.ssl.SSLSession getSslSession()
SSLSession for this channel.SSLSessionChannelListener.Setter<? extends SslChannel> getCloseSetter()
getCloseSetter in interface CloseableChannelChannelListener.Setter<? extends SslChannel> getHandshakeSetter()
Copyright © 2010 JBoss, a division of Red Hat, Inc.