@ChannelHandler.Sharable
public final class SslCloseCompletionEventHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
SslCloseCompletionEvents that are sent whenever an SSL channel
goes inactive. This most commonly occurs on a tls_close sent by the server. Channels
in this state can't be reused so they must be closed.| Modifier and Type | Method and Description |
|---|---|
static SslCloseCompletionEventHandler |
getInstance() |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
Close the channel if the event is
SslCloseCompletionEvent and the channel is unused. |
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
SslCloseCompletionEvent and the channel is unused.
If the channel is being used, it will be closed in ResponseHandleruserEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapterpublic static SslCloseCompletionEventHandler getInstance()
Copyright © 2019. All rights reserved.