public class NetworkSslServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isClient |
static String |
SSL_HANDLER |
Constructor and Description |
---|
NetworkSslServerInitializer(boolean isClient) |
Modifier and Type | Method and Description |
---|---|
static WaarpSecureKeyStore |
getWaarpSecureKeyStore() |
static WaarpSslContextFactory |
getWaarpSslContextFactory() |
protected void |
initChannel(io.netty.channel.socket.SocketChannel ch) |
static void |
setWaarpSecureKeyStore(WaarpSecureKeyStore waarpSecureKeyStore) |
static void |
setWaarpSslContextFactory(WaarpSslContextFactory waarpSslContextFactory) |
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
public static final String SSL_HANDLER
protected final boolean isClient
public NetworkSslServerInitializer(boolean isClient)
isClient
- True if this Factory is to be used in Client modeprotected void initChannel(io.netty.channel.socket.SocketChannel ch) throws Exception
initChannel
in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Exception
public static WaarpSslContextFactory getWaarpSslContextFactory()
public static void setWaarpSslContextFactory(WaarpSslContextFactory waarpSslContextFactory)
waarpSslContextFactory
- the waarpSslContextFactory to setpublic static WaarpSecureKeyStore getWaarpSecureKeyStore()
public static void setWaarpSecureKeyStore(WaarpSecureKeyStore waarpSecureKeyStore)
waarpSecureKeyStore
- the waarpSecureKeyStore to setCopyright © 2009–2020 Waarp. All rights reserved.