final class com.sun.webkit.network.NetworkContext
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.network.NetworkContext
super_class: java.lang.Object
{
private static final com.sun.javafx.logging.PlatformLogger logger;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int THREAD_POOL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 20
private static final long THREAD_POOL_KEEP_ALIVE_TIME;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10000
private static final int DEFAULT_HTTP_MAX_CONNECTIONS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int BYTE_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 40960
private static final java.util.concurrent.ThreadPoolExecutor threadPool;
descriptor: Ljava/util/concurrent/ThreadPoolExecutor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.sun.webkit.network.ByteBufferPool byteBufferPool;
descriptor: Lcom/sun/webkit/network/ByteBufferPool;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=10, locals=0, args_size=0
0: ldc Lcom/sun/webkit/network/NetworkContext;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
1: putstatic com.sun.webkit.network.NetworkContext.logger:Lcom/sun/javafx/logging/PlatformLogger;
2: new java.util.concurrent.ThreadPoolExecutor
dup
3: bipush 20
4: bipush 20
5: ldc 10000
6: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
7: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
8: new com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory
dup
invokespecial com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.<init>:()V
9: invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
putstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
10: getstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
iconst_1
invokevirtual java.util.concurrent.ThreadPoolExecutor.allowCoreThreadTimeOut:(Z)V
11: ldc 40960
invokestatic com.sun.webkit.network.ByteBufferPool.newInstance:(I)Lcom/sun/webkit/network/ByteBufferPool;
12: putstatic com.sun.webkit.network.NetworkContext.byteBufferPool:Lcom/sun/webkit/network/ByteBufferPool;
13: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/network/NetworkContext;
private static boolean canHandleURL(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokestatic com.sun.webkit.network.URLs.newURL:(Ljava/lang/String;)Ljava/net/URL;
astore 1
2: goto 4
StackMap locals: java.lang.String java.net.URL
StackMap stack: java.net.MalformedURLException
3: pop
4: StackMap locals:
StackMap stack:
aload 1
ifnull 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 url Ljava/lang/String;
1 6 1 u Ljava/net/URL;
Exception table:
from to target type
1 2 3 Class java.net.MalformedURLException
MethodParameters:
Name Flags
url
private static com.sun.webkit.network.URLLoader fwkLoad(com.sun.webkit.WebPage, boolean, java.lang.String, java.lang.String, java.lang.String, com.sun.webkit.network.FormDataElement[], long);
descriptor: (Lcom/sun/webkit/WebPage;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Lcom/sun/webkit/network/FormDataElement;J)Lcom/sun/webkit/network/URLLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=9, 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: getstatic com.sun.webkit.network.NetworkContext.logger:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINEST:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 14
1: getstatic com.sun.webkit.network.NetworkContext.logger:Lcom/sun/javafx/logging/PlatformLogger;
2: ldc "webPage: [%s], asynchronous: [%s], url: [%s], method: [%s], formDataElements: %s, data: [0x%016X], headers:%n%s"
bipush 7
anewarray java.lang.Object
dup
iconst_0
3: aload 0
aastore
dup
iconst_1
4: iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_2
5: aload 2
aastore
dup
iconst_3
6: aload 3
aastore
dup
iconst_4
7: aload 5
ifnull 9
8: aload 5
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
goto 10
StackMap locals: com.sun.webkit.WebPage int java.lang.String java.lang.String java.lang.String com.sun.webkit.network.FormDataElement[] long
StackMap stack: com.sun.javafx.logging.PlatformLogger java.lang.String java.lang.Object[] java.lang.Object[] int
9: ldc "[null]"
StackMap locals: com.sun.webkit.WebPage int java.lang.String java.lang.String java.lang.String com.sun.webkit.network.FormDataElement[] long
StackMap stack: com.sun.javafx.logging.PlatformLogger java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.Object
10: aastore
dup
iconst_5
11: lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
bipush 6
12: aload 4
invokestatic com.sun.webkit.network.Util.formatHeaders:(Ljava/lang/String;)Ljava/lang/String;
aastore
13: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
new com.sun.webkit.network.URLLoader
dup
15: aload 0
16: getstatic com.sun.webkit.network.NetworkContext.byteBufferPool:Lcom/sun/webkit/network/ByteBufferPool;
17: iload 1
18: aload 2
19: aload 3
20: aload 4
21: aload 5
22: lload 6
23: invokespecial com.sun.webkit.network.URLLoader.<init>:(Lcom/sun/webkit/WebPage;Lcom/sun/webkit/network/ByteBufferPool;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Lcom/sun/webkit/network/FormDataElement;J)V
astore 8
start local 8 24: iload 1
ifeq 37
25: getstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
aload 8
invokevirtual java.util.concurrent.ThreadPoolExecutor.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
pop
26: getstatic com.sun.webkit.network.NetworkContext.logger:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINEST:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 36
27: getstatic com.sun.webkit.network.NetworkContext.logger:Lcom/sun/javafx/logging/PlatformLogger;
28: ldc "active count: [{0}], pool size: [{1}], max pool size: [{2}], task count: [{3}], completed task count: [{4}]"
29: iconst_5
anewarray java.lang.Object
dup
iconst_0
30: getstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getActiveCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
31: getstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getPoolSize:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
32: getstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getMaximumPoolSize:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
33: getstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getTaskCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
34: getstatic com.sun.webkit.network.NetworkContext.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getCompletedTaskCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
35: invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
36: StackMap locals: com.sun.webkit.network.URLLoader
StackMap stack:
aload 8
areturn
37: StackMap locals:
StackMap stack:
aload 8
invokevirtual com.sun.webkit.network.URLLoader.run:()V
38: aconst_null
areturn
end local 8 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 39 0 webPage Lcom/sun/webkit/WebPage;
0 39 1 asynchronous Z
0 39 2 url Ljava/lang/String;
0 39 3 method Ljava/lang/String;
0 39 4 headers Ljava/lang/String;
0 39 5 formDataElements [Lcom/sun/webkit/network/FormDataElement;
0 39 6 data J
24 39 8 loader Lcom/sun/webkit/network/URLLoader;
MethodParameters:
Name Flags
webPage
asynchronous
url
method
headers
formDataElements
data
private static int fwkGetMaximumHTTPConnectionCountPerHost();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/webkit/network/NetworkContext.lambda$0()Ljava/lang/Integer; (6)
()Ljava/lang/Integer;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 0
start local 0 2: iload 0
iflt 3
iload 0
goto 4
StackMap locals: int
StackMap stack:
3: iconst_5
StackMap locals:
StackMap stack: int
4: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 5 0 propValue I
private static java.lang.Integer lambda$0();
descriptor: ()Ljava/lang/Integer;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "http.maxConnections"
iconst_m1
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "NetworkContext.java"
NestMembers:
com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory
InnerClasses:
public final Level = com.sun.javafx.logging.PlatformLogger$Level of com.sun.javafx.logging.PlatformLogger
private final URLLoaderThreadFactory = com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory of com.sun.webkit.network.NetworkContext
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles