Package io.netty.handler.ssl.ocsp
Class OcspClient.Initializer
java.lang.Object
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler
- Enclosing class:
OcspClient
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitChannel(SocketChannel socketChannel) This method will be called once theChannelwas registered.Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
responsePromise
-
-
Constructor Details
-
Initializer
Initializer(Promise<org.bouncycastle.cert.ocsp.OCSPResp> responsePromise)
-
-
Method Details
-
initChannel
Description copied from class:ChannelInitializerThis method will be called once theChannelwas registered. After the method returns this instance will be removed from theChannelPipelineof theChannel.- Specified by:
initChannelin classChannelInitializer<SocketChannel>- Parameters:
socketChannel- theChannelwhich was registered.
-