Top Description Fields Constructors Methods
io.vertx.core.net.impl

public Class SslHandshakeCompletionHandler

extends ChannelInboundHandlerAdapter
Class Inheritance
Imports
io.netty.channel.Channel, .ChannelHandlerContext, .ChannelInboundHandlerAdapter, io.netty.handler.ssl.SniCompletionEvent, .SslHandshakeCompletionEvent, io.netty.util.Attribute, .AttributeKey, io.netty.util.concurrent.Promise, io.vertx.core.AsyncResult, .Future, .Handler

An handler that waits for SSL handshake completion and dispatch it to the server handler.
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private final Promise<Void>
pack-priv static AttributeKey<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from io.netty.channel.ChannelInboundHandlerAdapter:
channelActivechannelInactivechannelReadchannelReadCompletechannelRegisteredchannelUnregisteredchannelWritabilityChanged

Field Detail

promiseback to summary
private final Promise<Void> promise
SERVER_NAME_ATTRback to summary
pack-priv static AttributeKey<String> SERVER_NAME_ATTR

Constructor Detail

SslHandshakeCompletionHandlerback to summary
public SslHandshakeCompletionHandler(Promise<Void> promise)

Method Detail

exceptionCaughtback to summary
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)

Overrides io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught.

Implements io.netty.channel.ChannelInboundHandler.exceptionCaught, io.netty.channel.ChannelHandler.exceptionCaught.

Doc from io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught.

Calls ChannelHandlerContext#fireExceptionCaught(Throwable) to forward to the next ChannelHandler in the ChannelPipeline. Sub-classes may override this method to change behavior.

Annotations
@Override
userEventTriggeredback to summary
public void userEventTriggered(ChannelHandlerContext ctx, Object evt)

Overrides io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered.

Implements io.netty.channel.ChannelInboundHandler.userEventTriggered.

Doc from io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered.

Calls ChannelHandlerContext#fireUserEventTriggered(Object) to forward to the next ChannelInboundHandler in the ChannelPipeline. Sub-classes may override this method to change behavior.

Annotations
@Override