final class io.netty.resolver.dns.DnsAddressResolveContext extends io.netty.resolver.dns.DnsResolveContext<java.net.InetAddress>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.resolver.dns.DnsAddressResolveContext
super_class: io.netty.resolver.dns.DnsResolveContext
{
private final io.netty.resolver.dns.DnsCache resolveCache;
descriptor: Lio/netty/resolver/dns/DnsCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(io.netty.resolver.dns.DnsNameResolver, java.lang.String, io.netty.handler.codec.dns.DnsRecord[], io.netty.resolver.dns.DnsServerAddressStream, io.netty.resolver.dns.DnsCache);
descriptor: (Lio/netty/resolver/dns/DnsNameResolver;Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/resolver/dns/DnsServerAddressStream;Lio/netty/resolver/dns/DnsCache;)V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iconst_1
aload 1
invokevirtual io.netty.resolver.dns.DnsNameResolver.resolveRecordTypes:()[Lio/netty/handler/codec/dns/DnsRecordType;
aload 3
aload 4
invokespecial io.netty.resolver.dns.DnsResolveContext.<init>:(Lio/netty/resolver/dns/DnsNameResolver;Ljava/lang/String;I[Lio/netty/handler/codec/dns/DnsRecordType;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/resolver/dns/DnsServerAddressStream;)V
1: aload 0
aload 5
putfield io.netty.resolver.dns.DnsAddressResolveContext.resolveCache:Lio/netty/resolver/dns/DnsCache;
2: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/resolver/dns/DnsAddressResolveContext;
0 3 1 parent Lio/netty/resolver/dns/DnsNameResolver;
0 3 2 hostname Ljava/lang/String;
0 3 3 additionals [Lio/netty/handler/codec/dns/DnsRecord;
0 3 4 nameServerAddrs Lio/netty/resolver/dns/DnsServerAddressStream;
0 3 5 resolveCache Lio/netty/resolver/dns/DnsCache;
MethodParameters:
Name Flags
parent
hostname
additionals
nameServerAddrs
resolveCache
io.netty.resolver.dns.DnsResolveContext<java.net.InetAddress> newResolverContext(io.netty.resolver.dns.DnsNameResolver, java.lang.String, int, io.netty.handler.codec.dns.DnsRecordType[], io.netty.handler.codec.dns.DnsRecord[], io.netty.resolver.dns.DnsServerAddressStream);
descriptor: (Lio/netty/resolver/dns/DnsNameResolver;Ljava/lang/String;I[Lio/netty/handler/codec/dns/DnsRecordType;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/resolver/dns/DnsServerAddressStream;)Lio/netty/resolver/dns/DnsResolveContext;
flags: (0x0000)
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new io.netty.resolver.dns.DnsAddressResolveContext
dup
aload 1
aload 2
aload 5
aload 6
aload 0
getfield io.netty.resolver.dns.DnsAddressResolveContext.resolveCache:Lio/netty/resolver/dns/DnsCache;
invokespecial io.netty.resolver.dns.DnsAddressResolveContext.<init>:(Lio/netty/resolver/dns/DnsNameResolver;Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/resolver/dns/DnsServerAddressStream;Lio/netty/resolver/dns/DnsCache;)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/DnsAddressResolveContext;
0 1 1 parent Lio/netty/resolver/dns/DnsNameResolver;
0 1 2 hostname Ljava/lang/String;
0 1 3 dnsClass I
0 1 4 expectedTypes [Lio/netty/handler/codec/dns/DnsRecordType;
0 1 5 additionals [Lio/netty/handler/codec/dns/DnsRecord;
0 1 6 nameServerAddrs Lio/netty/resolver/dns/DnsServerAddressStream;
Signature: (Lio/netty/resolver/dns/DnsNameResolver;Ljava/lang/String;I[Lio/netty/handler/codec/dns/DnsRecordType;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/resolver/dns/DnsServerAddressStream;)Lio/netty/resolver/dns/DnsResolveContext<Ljava/net/InetAddress;>;
MethodParameters:
Name Flags
parent
hostname
dnsClass
expectedTypes
additionals
nameServerAddrs
java.net.InetAddress convertRecord(io.netty.handler.codec.dns.DnsRecord, java.lang.String, io.netty.handler.codec.dns.DnsRecord[], io.netty.channel.EventLoop);
descriptor: (Lio/netty/handler/codec/dns/DnsRecord;Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/channel/EventLoop;)Ljava/net/InetAddress;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
aload 0
getfield io.netty.resolver.dns.DnsAddressResolveContext.parent:Lio/netty/resolver/dns/DnsNameResolver;
invokevirtual io.netty.resolver.dns.DnsNameResolver.isDecodeIdn:()Z
invokestatic io.netty.resolver.dns.DnsAddressDecoder.decodeAddress:(Lio/netty/handler/codec/dns/DnsRecord;Ljava/lang/String;Z)Ljava/net/InetAddress;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/DnsAddressResolveContext;
0 1 1 record Lio/netty/handler/codec/dns/DnsRecord;
0 1 2 hostname Ljava/lang/String;
0 1 3 additionals [Lio/netty/handler/codec/dns/DnsRecord;
0 1 4 eventLoop Lio/netty/channel/EventLoop;
MethodParameters:
Name Flags
record
hostname
additionals
eventLoop
java.util.List<java.net.InetAddress> filterResults(java.util.List<java.net.InetAddress>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.resolver.dns.DnsAddressResolveContext.parent:Lio/netty/resolver/dns/DnsNameResolver;
invokevirtual io.netty.resolver.dns.DnsNameResolver.preferredAddressType:()Lio/netty/channel/socket/InternetProtocolFamily;
invokevirtual io.netty.channel.socket.InternetProtocolFamily.addressType:()Ljava/lang/Class;
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.size:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 9
5: StackMap locals: io.netty.resolver.dns.DnsAddressResolveContext java.util.List java.lang.Class int int int
StackMap stack:
aload 1
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.net.InetAddress
astore 6
start local 6 6: aload 2
aload 6
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 8
7: iinc 4 1
end local 6 8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 3
if_icmplt 5
end local 5 10: iload 4
iload 3
if_icmpeq 11
iload 4
ifne 12
11: StackMap locals:
StackMap stack:
aload 1
areturn
12: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iload 4
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 13: iconst_0
istore 6
start local 6 14: goto 19
15: StackMap locals: java.util.List int
StackMap stack:
aload 1
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.net.InetAddress
astore 7
start local 7 16: aload 2
aload 7
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 18
17: aload 5
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 18: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 3
if_icmplt 15
end local 6 20: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/netty/resolver/dns/DnsAddressResolveContext;
0 21 1 unfiltered Ljava/util/List<Ljava/net/InetAddress;>;
1 21 2 inetAddressType Ljava/lang/Class<+Ljava/net/InetAddress;>;
2 21 3 size I
3 21 4 numExpected I
4 10 5 i I
6 8 6 address Ljava/net/InetAddress;
13 21 5 filtered Ljava/util/List<Ljava/net/InetAddress;>;
14 20 6 i I
16 18 7 address Ljava/net/InetAddress;
Signature: (Ljava/util/List<Ljava/net/InetAddress;>;)Ljava/util/List<Ljava/net/InetAddress;>;
MethodParameters:
Name Flags
unfiltered
void cache(java.lang.String, io.netty.handler.codec.dns.DnsRecord[], io.netty.handler.codec.dns.DnsRecord, java.net.InetAddress);
descriptor: (Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/handler/codec/dns/DnsRecord;Ljava/net/InetAddress;)V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.netty.resolver.dns.DnsAddressResolveContext.resolveCache:Lio/netty/resolver/dns/DnsCache;
aload 1
aload 2
aload 4
aload 3
invokeinterface io.netty.handler.codec.dns.DnsRecord.timeToLive:()J
aload 0
getfield io.netty.resolver.dns.DnsAddressResolveContext.parent:Lio/netty/resolver/dns/DnsNameResolver;
getfield io.netty.resolver.dns.DnsNameResolver.ch:Lio/netty/channel/socket/DatagramChannel;
invokeinterface io.netty.channel.socket.DatagramChannel.eventLoop:()Lio/netty/channel/EventLoop;
invokeinterface io.netty.resolver.dns.DnsCache.cache:(Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Ljava/net/InetAddress;JLio/netty/channel/EventLoop;)Lio/netty/resolver/dns/DnsCacheEntry;
pop
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/resolver/dns/DnsAddressResolveContext;
0 2 1 hostname Ljava/lang/String;
0 2 2 additionals [Lio/netty/handler/codec/dns/DnsRecord;
0 2 3 result Lio/netty/handler/codec/dns/DnsRecord;
0 2 4 convertedResult Ljava/net/InetAddress;
MethodParameters:
Name Flags
hostname
additionals
result
convertedResult
void cache(java.lang.String, io.netty.handler.codec.dns.DnsRecord[], java.net.UnknownHostException);
descriptor: (Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Ljava/net/UnknownHostException;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.netty.resolver.dns.DnsAddressResolveContext.resolveCache:Lio/netty/resolver/dns/DnsCache;
aload 1
aload 2
aload 3
aload 0
getfield io.netty.resolver.dns.DnsAddressResolveContext.parent:Lio/netty/resolver/dns/DnsNameResolver;
getfield io.netty.resolver.dns.DnsNameResolver.ch:Lio/netty/channel/socket/DatagramChannel;
invokeinterface io.netty.channel.socket.DatagramChannel.eventLoop:()Lio/netty/channel/EventLoop;
invokeinterface io.netty.resolver.dns.DnsCache.cache:(Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Ljava/lang/Throwable;Lio/netty/channel/EventLoop;)Lio/netty/resolver/dns/DnsCacheEntry;
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/resolver/dns/DnsAddressResolveContext;
0 2 1 hostname Ljava/lang/String;
0 2 2 additionals [Lio/netty/handler/codec/dns/DnsRecord;
0 2 3 cause Ljava/net/UnknownHostException;
MethodParameters:
Name Flags
hostname
additionals
cause
java.lang.Object convertRecord(io.netty.handler.codec.dns.DnsRecord, java.lang.String, io.netty.handler.codec.dns.DnsRecord[], io.netty.channel.EventLoop);
descriptor: (Lio/netty/handler/codec/dns/DnsRecord;Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/channel/EventLoop;)Ljava/lang/Object;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual io.netty.resolver.dns.DnsAddressResolveContext.convertRecord:(Lio/netty/handler/codec/dns/DnsRecord;Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/channel/EventLoop;)Ljava/net/InetAddress;
areturn
LocalVariableTable:
Start End Slot Name Signature
void cache(java.lang.String, io.netty.handler.codec.dns.DnsRecord[], io.netty.handler.codec.dns.DnsRecord, java.lang.Object);
descriptor: (Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/handler/codec/dns/DnsRecord;Ljava/lang/Object;)V
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
aload 2
aload 3
aload 4
checkcast java.net.InetAddress
invokevirtual io.netty.resolver.dns.DnsAddressResolveContext.cache:(Ljava/lang/String;[Lio/netty/handler/codec/dns/DnsRecord;Lio/netty/handler/codec/dns/DnsRecord;Ljava/net/InetAddress;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lio/netty/resolver/dns/DnsResolveContext<Ljava/net/InetAddress;>;
SourceFile: "DnsAddressResolveContext.java"