@UnstableApi public abstract class OcspClientHandler extends ChannelInboundHandlerAdapter
ReferenceCountedOpenSslContext#enableOcsp()
,
ReferenceCountedOpenSslEngine.getOcspResponse()
ChannelHandler.Sharable
限定符 | 构造器和说明 |
---|---|
protected |
OcspClientHandler(ReferenceCountedOpenSslEngine engine) |
限定符和类型 | 方法和说明 |
---|---|
void |
userEventTriggered(ChannelHandlerContext ctx,
java.lang.Object evt)
Calls
ChannelHandlerContext.fireUserEventTriggered(Object) to forward
to the next ChannelInboundHandler in the ChannelPipeline . |
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)
to forward
to the next ChannelInboundHandler
in the ChannelPipeline
.
Sub-classes may override this method to change behavior.userEventTriggered
在接口中 ChannelInboundHandler
userEventTriggered
在类中 ChannelInboundHandlerAdapter
java.lang.Exception