// In your {@link ChannelInitializer}: {@link ChannelPipeline} p = channel.pipeline();{@link SslContext} sslCtx = {@link #newClientContext(File) SslContext.newClientContext(...)}; p.addLast("ssl", {@link #newEngine(ByteBufAllocator,String,int) sslCtx.newEngine(channel.alloc(), host, port)}); ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|