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
ConstructorsModifierConstructorDescriptionprivate
AsyncMappingAdapter
(Mapping<? super String, ? extends SslContext> mapping) -
Method Summary
Modifier and TypeMethodDescriptionmap
(String input, Promise<SslContext> promise) Returns theFuture
that will provide the result of the mapping.
-
Field Details
-
mapping
-
-
Constructor Details
-
AsyncMappingAdapter
-
-
Method Details
-
map
Description copied from interface:AsyncMapping
Returns theFuture
that will provide the result of the mapping. The givenPromise
will be fulfilled when the result is available.- Specified by:
map
in interfaceAsyncMapping<String,
SslContext>
-