org.glassfish.grizzly.ssl
Class SSLCodec
java.lang.Object
org.glassfish.grizzly.ssl.SSLCodec
- All Implemented Interfaces:
- Codec<Buffer,Buffer>
public class SSLCodec
- extends java.lang.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(javax.net.ssl.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()
handshake
public java.util.concurrent.Future<javax.net.ssl.SSLEngine> handshake(Connection connection)
throws java.io.IOException
- Throws:
java.io.IOException
handshake
public java.util.concurrent.Future<javax.net.ssl.SSLEngine> handshake(Connection connection,
SSLEngineConfigurator configurator)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.