|
XNIO API 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SslChannel
A channel which can use SSL/TLS to negotiate a security layer.
Method Summary | |
---|---|
ChannelListener.Setter<? extends SslChannel> |
getCloseSetter()
Get the setter which can be used to change the close handler for this channel. |
javax.net.ssl.SSLSession |
getSslSession()
Get the current SSLSession for this channel. |
void |
startHandshake()
Start or restart the SSL/TLS handshake. |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Methods inherited from interface org.jboss.xnio.channels.Configurable |
---|
getOption, setOption, supportsOption |
Method Detail |
---|
void startHandshake() throws java.io.IOException
java.io.IOException
- if an I/O error occursjavax.net.ssl.SSLSession getSslSession()
SSLSession
for this channel.
SSLSession
ChannelListener.Setter<? extends SslChannel> getCloseSetter()
getCloseSetter
in interface CloseableChannel
|
XNIO API 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |