@UnstableApi public abstract class OcspClientHandler extends ChannelInboundHandlerAdapter
ReferenceCountedOpenSslContext#enableOcsp()
,
ReferenceCountedOpenSslEngine.getOcspResponse()
ChannelHandler.Sharable
Modifier | Constructor and Description |
---|---|
protected |
OcspClientHandler(ReferenceCountedOpenSslEngine engine) |
Modifier and Type | Method and Description |
---|---|
void |
userEventTriggered(ChannelHandlerContext ctx, java.lang.Object evt)
|
protected abstract boolean |
verify(ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine) |
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded, handlerRemoved
protected OcspClientHandler(ReferenceCountedOpenSslEngine engine)
protected abstract boolean verify(ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine) throws java.lang.Exception
java.lang.Exception
ReferenceCountedOpenSslEngine.getOcspResponse()
public void userEventTriggered(ChannelHandlerContext ctx, java.lang.Object evt) throws java.lang.Exception
ChannelInboundHandlerAdapter
ChannelHandlerContext.fireUserEventTriggered(Object)
转发到ChannelPipeline
中的下一个ChannelInboundHandler
。
子类可以重写此方法来更改行为。
userEventTriggered
在界面
ChannelInboundHandler
userEventTriggered
在课堂上
ChannelInboundHandlerAdapter
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.