SniProvider to configure the channel pipeline in order to support server SNI.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final long | |
| pack-priv final AsyncMapping |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addSniHandler(Channel
the channel channel, boolean if true SSL debugging on the server side will be enabled sslDebug)Adds configured |
| pack-priv SniProvider. |
| handshakeTimeoutMillis | back to summary |
|---|---|
| pack-priv final long handshakeTimeoutMillis | |
| mappings | back to summary |
|---|---|
| pack-priv final AsyncMapping<String, SslProvider> mappings | |
| SniProvider | back to summary |
|---|---|
| pack-priv SniProvider(AsyncMapping<String, SslProvider> mappings, long handshakeTimeoutMillis) | |
| SniProvider | back to summary |
|---|---|
| pack-priv SniProvider(Map<String, SslProvider> confPerDomainName, SslProvider defaultSslProvider) | |
| addSniHandler | back to summary |
|---|---|
| pack-priv void addSniHandler(Channel channel, boolean sslDebug) Adds configured
| |
| newSniHandler | back to summary |
|---|---|
| pack-priv SniProvider. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Mapping |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Future | map(String input, Promise<SslProvider> promise)
Implements io. Future that will provide the result of the mapping.
|
| mapping | back to summary |
|---|---|
| pack-priv final Mapping<String, SslProvider> mapping | |
| AsyncMappingAdapter | back to summary |
|---|---|
| pack-priv AsyncMappingAdapter(Mapping<String, SslProvider> mapping) | |
| map | back to summary |
|---|---|
| public Future Implements io. Doc from io. Returns the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AsyncMapping |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Future | lookup(ChannelHandlerContext ctx, String hostname)
Implements abstract io. Future which in turn will
notify the onLookupComplete(ChannelHandlerContext, String, Future) on completion.
|
| protected void | onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<SslProvider> future)
Implements abstract io. lookup(ChannelHandlerContext, String) Future.
|
| mappings | back to summary |
|---|---|
| pack-priv final AsyncMapping<String, SslProvider> mappings | |
| SniHandler | back to summary |
|---|---|
| pack-priv SniHandler(AsyncMapping<String, SslProvider> mappings, long handshakeTimeoutMillis) | |
| lookup | back to summary |
|---|---|
| protected Future Implements abstract io. Doc from io. Kicks off a lookup for the given SNI value and returns a
| |
| onLookupComplete | back to summary |
|---|---|
| protected void onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<SslProvider> future) Implements abstract io. Doc from io. Called upon completion of the
| |