Top Description Fields Constructors Methods
org.glassfish.grizzly.ssl

public Class SSLCodec

extends Object
implements Codec<Buffer, Buffer>
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.Codec
Imports
java.io.IOException, java.util.concurrent.Future, javax.net.ssl.SSLContext, .SSLEngine, org.glassfish.grizzly.Buffer, .Codec, .Connection, .Transformer

SSL Codec, which contains SSL encoder and decoder Transformers.
Author
Alexey Stashok

Field Summary

Modifier and TypeField and Description
private final SSLEngineConfigurator
private final Transformer<Buffer, Buffer>
private final Transformer<Buffer, Buffer>
private final SSLEngineConfigurator

Constructor Summary

AccessConstructor and Description
public
public
SSLCodec(SSLContext sslContext)

Method Summary

Modifier and TypeMethod and Description
public SSLEngineConfigurator
public Transformer<Buffer, Buffer>
public Transformer<Buffer, Buffer>
public SSLEngineConfigurator
public Future<SSLEngine>
handshake(Connection<L> connection)

public Future<SSLEngine>
handshake(Connection<L> connection, SSLEngineConfigurator configurator)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clientSSLEngineConfigback to summary
private final SSLEngineConfigurator clientSSLEngineConfig
decoderback to summary
private final Transformer<Buffer, Buffer> decoder
encoderback to summary
private final Transformer<Buffer, Buffer> encoder
serverSSLEngineConfigback to summary
private final SSLEngineConfigurator serverSSLEngineConfig

Constructor Detail

SSLCodecback to summary
public SSLCodec(SSLContextConfigurator config)
SSLCodecback to summary
public SSLCodec(SSLContext sslContext)

Method Detail

getClientSSLEngineConfigback to summary
public SSLEngineConfigurator getClientSSLEngineConfig()
getDecoderback to summary
public Transformer<Buffer, Buffer> getDecoder()

Implements org.glassfish.grizzly.Codec.getDecoder.

Annotations
@Override
getEncoderback to summary
public Transformer<Buffer, Buffer> getEncoder()

Implements org.glassfish.grizzly.Codec.getEncoder.

Annotations
@Override
getServerSSLEngineConfigback to summary
public SSLEngineConfigurator getServerSSLEngineConfig()
handshakeback to summary
public Future<SSLEngine> handshake(Connection<L> connection) throws IOException
handshakeback to summary
public Future<SSLEngine> handshake(Connection<L> connection, SSLEngineConfigurator configurator) throws IOException