io.netty.handler.ssl.Java8SslParametersUtils.class Maven / Gradle / Ivy
???? 2 ? ,io/netty/handler/ssl/Java8SslParametersUtils java/lang/Object Java8SslParametersUtils.java ()V
this .Lio/netty/handler/ssl/Java8SslParametersUtils; getSniHostNames /(Ljavax/net/ssl/SSLParameters;)Ljava/util/List; javax/net/ssl/SSLParameters getServerNames ()Ljava/util/List;
java/util/List isEmpty ()Z java/util/Collections emptyList
java/util/ArrayList size ()I ! " # (I)V %
& iterator ()Ljava/util/Iterator; ( ) * java/util/Iterator , hasNext . - / next ()Ljava/lang/Object; 1 2 - 3 javax/net/ssl/SNIServerName 5 javax/net/ssl/SNIHostName 7 getAsciiName ()Ljava/lang/String; 9 :
8 ; add (Ljava/lang/Object;)Z = > ? "java/lang/IllegalArgumentException A java/lang/StringBuilder C
D Only F append -(Ljava/lang/String;)Ljava/lang/StringBuilder; H I
D J java/lang/Class L getName N :
M O % instances are supported, but found: Q -(Ljava/lang/Object;)Ljava/lang/StringBuilder; H S
D T toString V :
D W (Ljava/lang/String;)V Y
B Z
serverName Ljavax/net/ssl/SNIServerName;
sslParameters Ljavax/net/ssl/SSLParameters; names /Ljava/util/List; Ljava/util/List; strings $Ljava/util/List; setSniHostNames 0(Ljavax/net/ssl/SSLParameters;Ljava/util/List;)V java/lang/String g
8 Z setServerNames (Ljava/util/List;)V j k
l name Ljava/lang/String; sniServerNames getUseCipherSuitesOrder (Ljavax/net/ssl/SSLParameters;)Z q
s setUseCipherSuitesOrder !(Ljavax/net/ssl/SSLParameters;Z)V (Z)V u w
x useOrder Z Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable Signature C(Ljavax/net/ssl/SSLParameters;)Ljava/util/List; D(Ljavax/net/ssl/SSLParameters;Ljava/util/List;)V
SourceFile 0 | / *? ? }
~
| 3 ?*? L+? +? ? ? ?? Y+? $ ? 'M+? + N-? 0 ? T-? 4 ? 6:? 8? ,? 8?