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

pack-priv Class VertxSniHandler

extends SniHandler
Class Inheritance
Imports
io.netty.buffer.ByteBufAllocator, io.netty.handler.ssl.SniHandler, .SslContext, .SslHandler, io.netty.util.AsyncMapping, io.vertx.core.net.HostAndPort, java.util.concurrent.Executor, .TimeUnit

Extend the SniHandler to support delegated task executor
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private final Executor
private final HostAndPort
Inherited from io.netty.handler.ssl.SniHandler:
mapping

Constructor Summary

AccessConstructor and Description
public
VertxSniHandler(AsyncMapping<? super String, ? extends SslContext> mapping, long handshakeTimeoutMillis, Executor delegatedTaskExec, HostAndPort remoteAddress)

Method Summary

Modifier and TypeMethod and Description
protected SslHandler
Inherited from io.netty.handler.ssl.SniHandler:
hostnamelookuponLookupCompletereplaceHandlersslContext

Field Detail

delegatedTaskExecback to summary
private final Executor delegatedTaskExec
remoteAddressback to summary
private final HostAndPort remoteAddress

Constructor Detail

VertxSniHandlerback to summary
public VertxSniHandler(AsyncMapping<? super String, ? extends SslContext> mapping, long handshakeTimeoutMillis, Executor delegatedTaskExec, HostAndPort remoteAddress)

Method Detail

newSslHandlerback to summary
protected SslHandler newSslHandler(SslContext context, ByteBufAllocator allocator)

Overrides io.netty.handler.ssl.SniHandler.newSslHandler.

Doc from io.netty.handler.ssl.SniHandler.newSslHandler.

Returns a new SslHandler using the given SslContext and ByteBufAllocator. Users may override this method to implement custom behavior.

Annotations
@Override