class io.netty.resolver.dns.DnsResolveContext$2 implements io.netty.util.concurrent.FutureListener<java.util.List<T>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.resolver.dns.DnsResolveContext$2
super_class: java.lang.Object
{
private int searchDomainIdx;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final io.netty.resolver.dns.DnsResolveContext this$0;
descriptor: Lio/netty/resolver/dns/DnsResolveContext;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final io.netty.util.concurrent.Promise val$promise;
descriptor: Lio/netty/util/concurrent/Promise;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String[] val$searchDomains;
descriptor: [Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final boolean val$startWithoutSearchDomain;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.netty.resolver.dns.DnsResolveContext, int, io.netty.util.concurrent.Promise, java.lang.String[], boolean);
descriptor: (Lio/netty/resolver/dns/DnsResolveContext;ILio/netty/util/concurrent/Promise;[Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 0: aload 0
aload 1
putfield io.netty.resolver.dns.DnsResolveContext$2.this$0:Lio/netty/resolver/dns/DnsResolveContext;
aload 0
aload 3
putfield io.netty.resolver.dns.DnsResolveContext$2.val$promise:Lio/netty/util/concurrent/Promise;
aload 0
aload 4
putfield io.netty.resolver.dns.DnsResolveContext$2.val$searchDomains:[Ljava/lang/String;
aload 0
iload 5
putfield io.netty.resolver.dns.DnsResolveContext$2.val$startWithoutSearchDomain:Z
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 2
putfield io.netty.resolver.dns.DnsResolveContext$2.searchDomainIdx:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/resolver/dns/DnsResolveContext$2;
MethodParameters:
Name Flags
this$0 final
val$initialSearchDomainIdx final
val$promise final
val$searchDomains final
val$startWithoutSearchDomain final
public void operationComplete(io.netty.util.concurrent.Future<java.util.List<T>>);
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.val$promise:Lio/netty/util/concurrent/Promise;
aload 1
invokeinterface io.netty.util.concurrent.Future.getNow:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface io.netty.util.concurrent.Promise.trySuccess:(Ljava/lang/Object;)Z
pop
3: goto 14
4: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
invokestatic io.netty.resolver.dns.DnsNameResolver.isTransportOrTimeoutError:(Ljava/lang/Throwable;)Z
ifeq 7
5: aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.val$promise:Lio/netty/util/concurrent/Promise;
new io.netty.resolver.dns.DnsResolveContext$SearchDomainUnknownHostException
dup
aload 2
aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.this$0:Lio/netty/resolver/dns/DnsResolveContext;
getfield io.netty.resolver.dns.DnsResolveContext.hostname:Ljava/lang/String;
invokespecial io.netty.resolver.dns.DnsResolveContext$SearchDomainUnknownHostException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
invokeinterface io.netty.util.concurrent.Promise.tryFailure:(Ljava/lang/Throwable;)Z
pop
6: goto 14
StackMap locals:
StackMap stack:
7: aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.searchDomainIdx:I
aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.val$searchDomains:[Ljava/lang/String;
arraylength
if_icmpge 10
8: aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.this$0:Lio/netty/resolver/dns/DnsResolveContext;
new java.lang.StringBuilder
dup
aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.this$0:Lio/netty/resolver/dns/DnsResolveContext;
getfield io.netty.resolver.dns.DnsResolveContext.hostname:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.val$searchDomains:[Ljava/lang/String;
aload 0
dup
getfield io.netty.resolver.dns.DnsResolveContext$2.searchDomainIdx:I
dup_x1
iconst_1
iadd
putfield io.netty.resolver.dns.DnsResolveContext$2.searchDomainIdx:I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokevirtual io.netty.resolver.dns.DnsResolveContext.doSearchDomainQuery:(Ljava/lang/String;Lio/netty/util/concurrent/FutureListener;)V
9: goto 14
StackMap locals:
StackMap stack:
10: aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.val$startWithoutSearchDomain:Z
ifne 13
11: aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.this$0:Lio/netty/resolver/dns/DnsResolveContext;
aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.val$promise:Lio/netty/util/concurrent/Promise;
invokevirtual io.netty.resolver.dns.DnsResolveContext.internalResolve:(Lio/netty/util/concurrent/Promise;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.val$promise:Lio/netty/util/concurrent/Promise;
new io.netty.resolver.dns.DnsResolveContext$SearchDomainUnknownHostException
dup
aload 2
aload 0
getfield io.netty.resolver.dns.DnsResolveContext$2.this$0:Lio/netty/resolver/dns/DnsResolveContext;
getfield io.netty.resolver.dns.DnsResolveContext.hostname:Ljava/lang/String;
invokespecial io.netty.resolver.dns.DnsResolveContext$SearchDomainUnknownHostException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
invokeinterface io.netty.util.concurrent.Promise.tryFailure:(Ljava/lang/Throwable;)Z
pop
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/resolver/dns/DnsResolveContext$2;
0 15 1 future Lio/netty/util/concurrent/Future<Ljava/util/List<TT;>;>;
1 15 2 cause Ljava/lang/Throwable;
Signature: (Lio/netty/util/concurrent/Future<Ljava/util/List<TT;>;>;)V
MethodParameters:
Name Flags
future
}
Signature: Ljava/lang/Object;Lio/netty/util/concurrent/FutureListener<Ljava/util/List<TT;>;>;
SourceFile: "DnsResolveContext.java"
EnclosingMethod: io.netty.resolver.dns.DnsResolveContext.resolve:(Lio/netty/util/concurrent/Promise;)V
NestHost: io.netty.resolver.dns.DnsResolveContext
InnerClasses:
io.netty.resolver.dns.DnsResolveContext$2
private final SearchDomainUnknownHostException = io.netty.resolver.dns.DnsResolveContext$SearchDomainUnknownHostException of io.netty.resolver.dns.DnsResolveContext