@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,
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 Exception
Exception
ReferenceCountedOpenSslEngine.getOcspResponse()
public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception
ChannelInboundHandlerAdapter
ChannelHandlerContext.fireUserEventTriggered(Object)
to forward
to the next ChannelInboundHandler
in the ChannelPipeline
.
Sub-classes may override this method to change behavior.userEventTriggered
in interface ChannelInboundHandler
userEventTriggered
in class ChannelInboundHandlerAdapter
Exception
Copyright © 2008–2024 The Netty Project. All rights reserved.