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 void
initChannel
(SocketChannel socketChannel) This method will be called once theChannel
was registered.Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods 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:ChannelInitializer
This method will be called once theChannel
was registered. After the method returns this instance will be removed from theChannelPipeline
of theChannel
.- Specified by:
initChannel
in classChannelInitializer<SocketChannel>
- Parameters:
socketChannel
- theChannel
which was registered.
-