Class OcspClient.Initializer
java.lang.Object
- All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler
- Enclosing class:
OcspClient
-
Nested Class Summary
Nested classes/interfaces inherited from interface 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 ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class 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.
-