Package io.netty.handler.ssl.ocsp
Class OcspClientHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.ssl.ocsp.OcspClientHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
@UnstableApi public abstract class OcspClientHandler extends io.netty.channel.ChannelInboundHandlerAdapterA handler for SSL clients to handle and act upon stapled OCSP responses.- See Also:
ReferenceCountedOpenSslContext#enableOcsp(),ReferenceCountedOpenSslEngine.getOcspResponse()
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOcspClientHandler(io.netty.handler.ssl.ReferenceCountedOpenSslEngine engine)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiduserEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt)protected abstract booleanverify(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.ssl.ReferenceCountedOpenSslEngine engine)-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Method Detail
-
verify
protected abstract boolean verify(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.ssl.ReferenceCountedOpenSslEngine engine) throws Exception- Throws:
Exception- See Also:
ReferenceCountedOpenSslEngine.getOcspResponse()
-
userEventTriggered
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception- Specified by:
userEventTriggeredin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
userEventTriggeredin classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
-