io.netty.handler.ssl.SniHandler.class Maven / Gradle / Ivy
???? 2 ? io/netty/handler/ssl/SniHandler LLio/netty/handler/ssl/AbstractSniHandler; 'io/netty/handler/ssl/AbstractSniHandler SniHandler.java !io/netty/handler/ssl/SniHandler$1 )io/netty/handler/ssl/SniHandler$Selection Selection 3io/netty/handler/ssl/SniHandler$AsyncMappingAdapter AsyncMappingAdapter EMPTY_SELECTION +Lio/netty/handler/ssl/SniHandler$Selection; mapping Lio/netty/util/AsyncMapping; QLio/netty/util/AsyncMapping; selection (Lio/netty/util/Mapping;)V =(Lio/netty/util/Mapping;Lio/netty/handler/ssl/SniHandler$1;)V
(Lio/netty/util/AsyncMapping;)V
this !Lio/netty/handler/ssl/SniHandler; NLio/netty/util/Mapping<-Ljava/lang/String;+Lio/netty/handler/ssl/SslContext;>; Lio/netty/util/Mapping; $(Lio/netty/util/DomainNameMapping;)V
" ELio/netty/util/DomainNameMapping<+Lio/netty/handler/ssl/SslContext;>; !Lio/netty/util/DomainNameMapping; ()V &
' ) + !io/netty/util/internal/ObjectUtil . checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; 0 1
/ 2 io/netty/util/AsyncMapping 4 6 SLio/netty/util/AsyncMapping<-Ljava/lang/String;+Lio/netty/handler/ssl/SslContext;>; hostname ()Ljava/lang/String; Ljava/lang/String; 9 ;
<
sslContext #()Lio/netty/handler/ssl/SslContext; context !Lio/netty/handler/ssl/SslContext; @ A
B lookup ](Lio/netty/channel/ChannelHandlerContext;Ljava/lang/String;)Lio/netty/util/concurrent/Future; java/lang/Exception F &io/netty/channel/ChannelHandlerContext H executor *()Lio/netty/util/concurrent/EventExecutor; J K I L &io/netty/util/concurrent/EventExecutor N
newPromise $()Lio/netty/util/concurrent/Promise; P Q O R map W(Ljava/lang/Object;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; T U 5 V ctx (Lio/netty/channel/ChannelHandlerContext; onLookupComplete ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/String;Lio/netty/util/concurrent/Future;)V java/lang/Throwable \ io/netty/util/concurrent/Future ^ isSuccess ()Z ` a _ b 'io/netty/handler/codec/DecoderException d java/lang/StringBuilder f
g ' !failed to get the SslContext for i append -(Ljava/lang/String;)Ljava/lang/StringBuilder; k l
g m toString o :
g p cause ()Ljava/lang/Throwable; r s _ t *(Ljava/lang/String;Ljava/lang/Throwable;)V v
e w getNow ()Ljava/lang/Object; y z _ { io/netty/handler/ssl/SslContext } 6(Lio/netty/handler/ssl/SslContext;Ljava/lang/String;)V
? replaceHandler ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/String;Lio/netty/handler/ssl/SslContext;)V ? ?
? java/lang/String ? (io/netty/util/internal/PlatformDependent ? throwException (Ljava/lang/Throwable;)V ? ?
? ? Ljava/lang/Throwable; future DLio/netty/util/concurrent/Future; !Lio/netty/util/concurrent/Future; alloc $()Lio/netty/buffer/ByteBufAllocator; ? ? I ?
newHandler E(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/ssl/SslHandler; ? ?
~ ? pipeline $()Lio/netty/channel/ChannelPipeline; ? ? I ? io/netty/handler/ssl/SslHandler ? java/lang/Class ? getName ? :
? ? io/netty/channel/ChannelPipeline ? replace x(Lio/netty/channel/ChannelHandler;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; ? ? ? ? engine ()Ljavax/net/ssl/SSLEngine; ? ?
? ? io/netty/util/ReferenceCountUtil ? safeRelease (Ljava/lang/Object;)V ? ?
? ?
sslHandler !Lio/netty/handler/ssl/SslHandler; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable Q(Lio/netty/util/Mapping<-Ljava/lang/String;+Lio/netty/handler/ssl/SslContext;>;)V H(Lio/netty/util/DomainNameMapping<+Lio/netty/handler/ssl/SslContext;>;)V V(Lio/netty/util/AsyncMapping<-Ljava/lang/String;+Lio/netty/handler/ssl/SslContext;>;)V
Exceptions ?(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/String;)Lio/netty/util/concurrent/Future;
StackMapTable ?(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/String;Lio/netty/util/concurrent/Future;)V
SourceFile InnerClasses ! ? B ? X *?
Y+? ? ? ? ? ?
2
3 ? ? ! ? P *+? #? ? % ? $ ?
<