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.ChannelInboundHandlerAdapter
A handler for SSL clients to handle and act upon stapled OCSP responses.- See Also:
ReferenceCountedOpenSslContext#enableOcsp()
,ReferenceCountedOpenSslEngine.getOcspResponse()
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OcspClientHandler(io.netty.handler.ssl.ReferenceCountedOpenSslEngine engine)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt)
protected abstract boolean
verify(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:
userEventTriggered
in interfaceio.netty.channel.ChannelInboundHandler
- Overrides:
userEventTriggered
in classio.netty.channel.ChannelInboundHandlerAdapter
- Throws:
Exception
-
-