io.netty.resolver.DefaultNameResolver.class Maven / Gradle / Ivy
???? 2 A %io/netty/resolver/DefaultNameResolver "io/netty/resolver/InetNameResolver DefaultNameResolver.java +(Lio/netty/util/concurrent/EventExecutor;)V
this 'Lio/netty/resolver/DefaultNameResolver; executor (Lio/netty/util/concurrent/EventExecutor; doResolve 7(Ljava/lang/String;Lio/netty/util/concurrent/Promise;)V java/lang/Exception java/net/UnknownHostException "io/netty/util/internal/SocketUtils
addressByName *(Ljava/lang/String;)Ljava/net/InetAddress;
io/netty/util/concurrent/Promise
setSuccess 6(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
setFailure 9(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise; ! " e Ljava/net/UnknownHostException; inetHost Ljava/lang/String; promise :Lio/netty/util/concurrent/Promise; "Lio/netty/util/concurrent/Promise; doResolveAll allAddressesByName +(Ljava/lang/String;)[Ljava/net/InetAddress; , -
. java/util/Arrays 0 asList %([Ljava/lang/Object;)Ljava/util/List; 2 3
1 4 LLio/netty/util/concurrent/Promise;>; Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature O(Ljava/lang/String;Lio/netty/util/concurrent/Promise;)V a(Ljava/lang/String;Lio/netty/util/concurrent/Promise;>;)V
SourceFile ! 7 > *+? ? 8
9
% &