Package io.netty.handler.ssl.ocsp
Class OcspClient.Initializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelInitializer<SocketChannel>
-
- io.netty.handler.ssl.ocsp.OcspClient.Initializer
-
- All Implemented Interfaces:
ChannelHandler
,ChannelInboundHandler
- Enclosing class:
- OcspClient
static final class OcspClient.Initializer extends ChannelInitializer<SocketChannel>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
Field Summary
Fields Modifier and Type Field Description private Promise<org.bouncycastle.cert.ocsp.OCSPResp>
responsePromise
-
Constructor Summary
Constructors Constructor Description Initializer(Promise<org.bouncycastle.cert.ocsp.OCSPResp> responsePromise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
responsePromise
private final Promise<org.bouncycastle.cert.ocsp.OCSPResp> responsePromise
-
-
Constructor Detail
-
Initializer
Initializer(Promise<org.bouncycastle.cert.ocsp.OCSPResp> responsePromise)
-
-
Method Detail
-
initChannel
protected void initChannel(SocketChannel socketChannel)
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.
-
-