public final class org.apache.http.conn.util.PublicSuffixMatcherLoader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.http.conn.util.PublicSuffixMatcherLoader
super_class: java.lang.Object
{
private static volatile org.apache.http.conn.util.PublicSuffixMatcher DEFAULT_INSTANCE;
descriptor: Lorg/apache/http/conn/util/PublicSuffixMatcher;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/conn/util/PublicSuffixMatcherLoader;
private static org.apache.http.conn.util.PublicSuffixMatcher load(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lorg/apache/http/conn/util/PublicSuffixMatcher;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.apache.http.conn.util.PublicSuffixListParser
dup
invokespecial org.apache.http.conn.util.PublicSuffixListParser.<init>:()V
1: new java.io.InputStreamReader
dup
aload 0
getstatic org.apache.http.Consts.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
2: invokevirtual org.apache.http.conn.util.PublicSuffixListParser.parseByType:(Ljava/io/Reader;)Ljava/util/List;
astore 1
start local 1 3: new org.apache.http.conn.util.PublicSuffixMatcher
dup
aload 1
invokespecial org.apache.http.conn.util.PublicSuffixMatcher.<init>:(Ljava/util/Collection;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in Ljava/io/InputStream;
3 4 1 lists Ljava/util/List<Lorg/apache/http/conn/util/PublicSuffixList;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in final
public static org.apache.http.conn.util.PublicSuffixMatcher load(java.net.URL);
descriptor: (Ljava/net/URL;)Lorg/apache/http/conn/util/PublicSuffixMatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
ldc "URL"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 1
start local 1 2: aload 1
invokestatic org.apache.http.conn.util.PublicSuffixMatcherLoader.load:(Ljava/io/InputStream;)Lorg/apache/http/conn/util/PublicSuffixMatcher;
astore 3
3: aload 1
invokevirtual java.io.InputStream.close:()V
4: aload 3
areturn
5: StackMap locals: java.net.URL java.io.InputStream
StackMap stack: java.lang.Throwable
astore 2
6: aload 1
invokevirtual java.io.InputStream.close:()V
7: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 url Ljava/net/URL;
2 8 1 in Ljava/io/InputStream;
Exception table:
from to target type
2 3 5 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url final
public static org.apache.http.conn.util.PublicSuffixMatcher load(java.io.File);
descriptor: (Ljava/io/File;)Lorg/apache/http/conn/util/PublicSuffixMatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ldc "File"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 1
start local 1 2: aload 1
invokestatic org.apache.http.conn.util.PublicSuffixMatcherLoader.load:(Ljava/io/InputStream;)Lorg/apache/http/conn/util/PublicSuffixMatcher;
astore 3
3: aload 1
invokevirtual java.io.InputStream.close:()V
4: aload 3
areturn
5: StackMap locals: java.io.File java.io.InputStream
StackMap stack: java.lang.Throwable
astore 2
6: aload 1
invokevirtual java.io.InputStream.close:()V
7: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 file Ljava/io/File;
2 8 1 in Ljava/io/InputStream;
Exception table:
from to target type
2 3 5 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file final
public static org.apache.http.conn.util.PublicSuffixMatcher getDefault();
descriptor: ()Lorg/apache/http/conn/util/PublicSuffixMatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=0
0: getstatic org.apache.http.conn.util.PublicSuffixMatcherLoader.DEFAULT_INSTANCE:Lorg/apache/http/conn/util/PublicSuffixMatcher;
ifnonnull 19
1: ldc Lorg/apache/http/conn/util/PublicSuffixMatcherLoader;
dup
astore 0
monitorenter
2: getstatic org.apache.http.conn.util.PublicSuffixMatcherLoader.DEFAULT_INSTANCE:Lorg/apache/http/conn/util/PublicSuffixMatcher;
ifnonnull 15
3: ldc Lorg/apache/http/conn/util/PublicSuffixMatcherLoader;
4: ldc "/mozilla/public-suffix-list.txt"
5: invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
start local 1 6: aload 1
ifnull 14
7: aload 1
invokestatic org.apache.http.conn.util.PublicSuffixMatcherLoader.load:(Ljava/net/URL;)Lorg/apache/http/conn/util/PublicSuffixMatcher;
putstatic org.apache.http.conn.util.PublicSuffixMatcherLoader.DEFAULT_INSTANCE:Lorg/apache/http/conn/util/PublicSuffixMatcher;
8: goto 15
StackMap locals: java.lang.Class java.net.URL
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: ldc Lorg/apache/http/conn/util/PublicSuffixMatcherLoader;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
astore 3
start local 3 11: aload 3
invokeinterface org.apache.commons.logging.Log.isWarnEnabled:()Z
ifeq 15
12: aload 3
ldc "Failure loading public suffix list from default resource"
aload 2
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 end local 2 13: goto 15
14: StackMap locals:
StackMap stack:
new org.apache.http.conn.util.PublicSuffixMatcher
dup
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "com"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aconst_null
invokespecial org.apache.http.conn.util.PublicSuffixMatcher.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
putstatic org.apache.http.conn.util.PublicSuffixMatcherLoader.DEFAULT_INSTANCE:Lorg/apache/http/conn/util/PublicSuffixMatcher;
end local 1 15: StackMap locals:
StackMap stack:
aload 0
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 0
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
getstatic org.apache.http.conn.util.PublicSuffixMatcherLoader.DEFAULT_INSTANCE:Lorg/apache/http/conn/util/PublicSuffixMatcher;
areturn
LocalVariableTable:
Start End Slot Name Signature
6 15 1 url Ljava/net/URL;
10 13 2 ex Ljava/io/IOException;
11 13 3 log Lorg/apache/commons/logging/Log;
Exception table:
from to target type
7 8 9 Class java.io.IOException
2 16 17 any
17 18 17 any
}
SourceFile: "PublicSuffixMatcherLoader.java"
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.SAFE:Lorg/apache/http/annotation/ThreadingBehavior;)