Package io.netty.handler.ssl
Class SniHandler.AsyncMappingAdapter
java.lang.Object
io.netty.handler.ssl.SniHandler.AsyncMappingAdapter
- All Implemented Interfaces:
AsyncMapping<String,SslContext>
- Enclosing class:
SniHandler
private static final class SniHandler.AsyncMappingAdapter
extends Object
implements AsyncMapping<String,SslContext>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAsyncMappingAdapter(Mapping<? super String, ? extends SslContext> mapping) -
Method Summary
Modifier and TypeMethodDescriptionmap(String input, Promise<SslContext> promise) Returns theFuturethat will provide the result of the mapping.
-
Field Details
-
mapping
-
-
Constructor Details
-
AsyncMappingAdapter
-
-
Method Details
-
map
Description copied from interface:AsyncMappingReturns theFuturethat will provide the result of the mapping. The givenPromisewill be fulfilled when the result is available.- Specified by:
mapin interfaceAsyncMapping<String,SslContext>
-