org.glassfish.grizzly.ssl
Class SSLCodec
java.lang.Object
org.glassfish.grizzly.ssl.SSLCodec
- All Implemented Interfaces:
- Codec<Buffer,Buffer>
public class SSLCodec
- extends Object
- implements Codec<Buffer,Buffer>
SSL Codec, which contains SSL encoder and decoder Transformers.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLCodec
public SSLCodec(SSLContextConfigurator config)
SSLCodec
public SSLCodec(SSLContext sslContext)
getDecoder
public Transformer<Buffer,Buffer> getDecoder()
-
- Specified by:
getDecoder in interface Codec<Buffer,Buffer>
getEncoder
public Transformer<Buffer,Buffer> getEncoder()
-
- Specified by:
getEncoder in interface Codec<Buffer,Buffer>
getClientSSLEngineConfig
public SSLEngineConfigurator getClientSSLEngineConfig()
getServerSSLEngineConfig
public SSLEngineConfigurator getServerSSLEngineConfig()
getSslHandshaker
public SSLHandshaker getSslHandshaker()
setSslHandshaker
public void setSslHandshaker(SSLHandshaker sslHandshaker)
handshake
public Future<SSLEngine> handshake(Connection connection)
throws IOException
- Throws:
IOException
handshake
public Future<SSLEngine> handshake(Connection connection,
SSLEngineConfigurator configurator)
throws IOException
- Throws:
IOException
Copyright © 2009 SUN Microsystems. All Rights Reserved.