Class ServerSslHandlerChannelInitializer<T extends io.netty.channel.Channel>
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<T>
org.apache.nifi.event.transport.netty.channel.StandardChannelInitializer<T>
org.apache.nifi.event.transport.netty.channel.ssl.ServerSslHandlerChannelInitializer<T>
- Type Parameters:
T- Channel Type
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class ServerSslHandlerChannelInitializer<T extends io.netty.channel.Channel>
extends StandardChannelInitializer<T>
Server SslHandler Channel Initializer for configuring SslHandler with server parameters
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientAuthprivate final SSLContextprivate final SSLParameters -
Constructor Summary
ConstructorsConstructorDescriptionServerSslHandlerChannelInitializer(Supplier<List<io.netty.channel.ChannelHandler>> handlerSupplier, SSLContext sslContext, ClientAuth clientAuth, SSLParameters sslParameters) Server SSL Channel Initializer with handlers and SSLContext -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitChannel(io.netty.channel.Channel channel) private io.netty.handler.ssl.SslHandlerMethods inherited from class org.apache.nifi.event.transport.netty.channel.StandardChannelInitializer
setIdleTimeout, setWriteTimeoutMethods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
sslContext
-
clientAuth
-
sslParameters
-
-
Constructor Details
-
ServerSslHandlerChannelInitializer
public ServerSslHandlerChannelInitializer(Supplier<List<io.netty.channel.ChannelHandler>> handlerSupplier, SSLContext sslContext, ClientAuth clientAuth, SSLParameters sslParameters) Server SSL Channel Initializer with handlers and SSLContext- Parameters:
handlerSupplier- Channel Handler SuppliersslContext- SSLContextclientAuth- Client Authentication configurationsslParameters- SSL Parameters
-
-
Method Details
-
initChannel
protected void initChannel(io.netty.channel.Channel channel) - Overrides:
initChannelin classStandardChannelInitializer<T extends io.netty.channel.Channel>
-
newSslHandler
private io.netty.handler.ssl.SslHandler newSslHandler()
-