Top Description Fields Constructors Methods
io.netty.handler.ssl.ocsp

public abstract Class OcspClientHandler

extends ChannelInboundHandlerAdapter
Class Inheritance
Annotations
@UnstableApi
Imports
io.netty.channel.ChannelHandlerContext, .ChannelInboundHandlerAdapter, io.netty.handler.ssl.ReferenceCountedOpenSslContext, .ReferenceCountedOpenSslEngine, .SslHandshakeCompletionEvent, io.netty.util.internal.ObjectUtil, .UnstableApi, javax.net.ssl.SSLHandshakeException

A handler for SSL clients to handle and act upon stapled OCSP responses.
See Also
ReferenceCountedOpenSslContext#enableOcsp(), ReferenceCountedOpenSslEngine#getOcspResponse()

Field Summary

Modifier and TypeField and Description
private final ReferenceCountedOpenSslEngine

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
protected abstract boolean
Inherited from io.netty.channel.ChannelInboundHandlerAdapter:
channelActivechannelInactivechannelReadchannelReadCompletechannelRegisteredchannelUnregisteredchannelWritabilityChangedexceptionCaught

Field Detail

engineback to summary
private final ReferenceCountedOpenSslEngine engine

Constructor Detail

OcspClientHandlerback to summary
protected OcspClientHandler(ReferenceCountedOpenSslEngine engine)

Method Detail

userEventTriggeredback to summary
public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception

Overrides io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered.

Implements io.netty.channel.ChannelInboundHandler.userEventTriggered.

Doc from io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered.

Calls ChannelHandlerContext#fireUserEventTriggered(Object) to forward to the next ChannelInboundHandler in the ChannelPipeline. Sub-classes may override this method to change behavior.

Annotations
@Override
verifyback to summary
protected abstract boolean verify(ChannelHandlerContext ctx, ReferenceCountedOpenSslEngine engine) throws Exception
See Also
ReferenceCountedOpenSslEngine#getOcspResponse()