public class CertificateValidationHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
CertificateValidationHandler(SSLEngine sslEngine,
int cacheDelay,
int cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
When an exception occurs in channel pipeline, log error and notify the listener.
|
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic CertificateValidationHandler(SSLEngine sslEngine, int cacheDelay, int cacheSize)
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
throws Exception
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterctx - Channel contextcause - Exception occurredCopyright © 2022 WSO2. All rights reserved.