public final class org.eclipse.aether.util.repository.JreProxySelector implements org.eclipse.aether.repository.ProxySelector
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.aether.util.repository.JreProxySelector
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.eclipse.aether.util.repository.JreProxySelector this
0: .line 54
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 56
return
end local 0 // org.eclipse.aether.util.repository.JreProxySelector this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/aether/util/repository/JreProxySelector;
public org.eclipse.aether.repository.Proxy getProxy(org.eclipse.aether.repository.RemoteRepository);
descriptor: (Lorg/eclipse/aether/repository/RemoteRepository;)Lorg/eclipse/aether/repository/Proxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 // org.eclipse.aether.util.repository.JreProxySelector this
start local 1 // org.eclipse.aether.repository.RemoteRepository repository
0: .line 60
aconst_null
astore 2 /* proxies */
start local 2 // java.util.List proxies
1: .line 63
new java.net.URI
dup
aload 1 /* repository */
invokevirtual org.eclipse.aether.repository.RemoteRepository.getUrl:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URI.parseServerAuthority:()Ljava/net/URI;
astore 3 /* uri */
start local 3 // java.net.URI uri
2: .line 64
invokestatic java.net.ProxySelector.getDefault:()Ljava/net/ProxySelector;
aload 3 /* uri */
invokevirtual java.net.ProxySelector.select:(Ljava/net/URI;)Ljava/util/List;
astore 2 /* proxies */
end local 3 // java.net.URI uri
3: .line 65
goto 5
4: .line 66
StackMap locals: org.eclipse.aether.util.repository.JreProxySelector org.eclipse.aether.repository.RemoteRepository java.util.List
StackMap stack: java.lang.Exception
pop
5: .line 70
StackMap locals:
StackMap stack:
aload 2 /* proxies */
ifnull 16
6: .line 72
aload 2 /* proxies */
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 15
StackMap locals: org.eclipse.aether.util.repository.JreProxySelector org.eclipse.aether.repository.RemoteRepository java.util.List top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.Proxy
astore 3 /* proxy */
start local 3 // java.net.Proxy proxy
8: .line 74
getstatic java.net.Proxy$Type.DIRECT:Ljava/net/Proxy$Type;
aload 3 /* proxy */
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
invokevirtual java.net.Proxy$Type.equals:(Ljava/lang/Object;)Z
ifeq 10
9: .line 76
goto 16
10: .line 78
StackMap locals: org.eclipse.aether.util.repository.JreProxySelector org.eclipse.aether.repository.RemoteRepository java.util.List java.net.Proxy java.util.Iterator
StackMap stack:
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
aload 3 /* proxy */
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
invokevirtual java.net.Proxy$Type.equals:(Ljava/lang/Object;)Z
ifeq 15
aload 3 /* proxy */
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
invokestatic org.eclipse.aether.util.repository.JreProxySelector.isValid:(Ljava/net/SocketAddress;)Z
ifeq 15
11: .line 80
aload 3 /* proxy */
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
astore 5 /* addr */
start local 5 // java.net.InetSocketAddress addr
12: .line 81
new org.eclipse.aether.repository.Proxy
dup
ldc "http"
aload 5 /* addr */
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
aload 5 /* addr */
invokevirtual java.net.InetSocketAddress.getPort:()I
13: .line 82
getstatic org.eclipse.aether.util.repository.JreProxySelector$JreProxyAuthentication.INSTANCE:Lorg/eclipse/aether/repository/Authentication;
14: .line 81
invokespecial org.eclipse.aether.repository.Proxy.<init>:(Ljava/lang/String;Ljava/lang/String;ILorg/eclipse/aether/repository/Authentication;)V
areturn
end local 5 // java.net.InetSocketAddress addr
end local 3 // java.net.Proxy proxy
15: .line 72
StackMap locals: org.eclipse.aether.util.repository.JreProxySelector org.eclipse.aether.repository.RemoteRepository java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
16: .line 86
StackMap locals: org.eclipse.aether.util.repository.JreProxySelector org.eclipse.aether.repository.RemoteRepository java.util.List
StackMap stack:
aconst_null
areturn
end local 2 // java.util.List proxies
end local 1 // org.eclipse.aether.repository.RemoteRepository repository
end local 0 // org.eclipse.aether.util.repository.JreProxySelector this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/aether/util/repository/JreProxySelector;
0 17 1 repository Lorg/eclipse/aether/repository/RemoteRepository;
1 17 2 proxies Ljava/util/List<Ljava/net/Proxy;>;
2 3 3 uri Ljava/net/URI;
8 15 3 proxy Ljava/net/Proxy;
12 15 5 addr Ljava/net/InetSocketAddress;
Exception table:
from to target type
1 3 4 Class java.lang.Exception
MethodParameters:
Name Flags
repository
private static boolean isValid(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 // java.net.SocketAddress address
0: .line 91
aload 0 /* address */
instanceof java.net.InetSocketAddress
ifeq 7
1: .line 97
aload 0 /* address */
checkcast java.net.InetSocketAddress
astore 1 /* addr */
start local 1 // java.net.InetSocketAddress addr
2: .line 98
aload 1 /* addr */
invokevirtual java.net.InetSocketAddress.getPort:()I
ifgt 4
3: .line 100
iconst_0
ireturn
4: .line 102
StackMap locals: java.net.InetSocketAddress
StackMap stack:
aload 1 /* addr */
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
ifnull 5
aload 1 /* addr */
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifgt 6
5: .line 104
StackMap locals:
StackMap stack:
iconst_0
ireturn
6: .line 106
StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 // java.net.InetSocketAddress addr
7: .line 108
StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 // java.net.SocketAddress address
LocalVariableTable:
Start End Slot Name Signature
0 8 0 address Ljava/net/SocketAddress;
2 7 1 addr Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
address
}
SourceFile: "JreProxySelector.java"
NestMembers:
org.eclipse.aether.util.repository.JreProxySelector$JreProxyAuthentication
InnerClasses:
public final Type = java.net.Proxy$Type of java.net.Proxy
private final JreProxyAuthentication = org.eclipse.aether.util.repository.JreProxySelector$JreProxyAuthentication of org.eclipse.aether.util.repository.JreProxySelector