public abstract class com.sun.javafx.runtime.async.AbstractRemoteResource<T> extends com.sun.javafx.runtime.async.AbstractAsyncOperation<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.javafx.runtime.async.AbstractRemoteResource
super_class: com.sun.javafx.runtime.async.AbstractAsyncOperation
{
protected final java.lang.String url;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String method;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String outboundContent;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected int fileSize;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private java.util.Map<java.lang.String, java.lang.String> ;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private java.util.Map<java.lang.String, java.util.List<java.lang.String>> ;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
protected void <init>(java.lang.String, com.sun.javafx.runtime.async.AsyncOperationListener<T>);
descriptor: (Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
ldc "GET"
aload 2
invokespecial com.sun.javafx.runtime.async.AbstractRemoteResource.<init>:(Ljava/lang/String;Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/runtime/async/AbstractRemoteResource<TT;>;
0 2 1 url Ljava/lang/String;
0 2 2 listener Lcom/sun/javafx/runtime/async/AsyncOperationListener<TT;>;
Signature: (Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener<TT;>;)V
MethodParameters:
Name Flags
url
listener
protected void <init>(java.lang.String, java.lang.String, com.sun.javafx.runtime.async.AsyncOperationListener<T>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aconst_null
aload 3
invokespecial com.sun.javafx.runtime.async.AbstractRemoteResource.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/runtime/async/AbstractRemoteResource<TT;>;
0 2 1 url Ljava/lang/String;
0 2 2 method Ljava/lang/String;
0 2 3 listener Lcom/sun/javafx/runtime/async/AsyncOperationListener<TT;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener<TT;>;)V
MethodParameters:
Name Flags
url
method
listener
protected void <init>(java.lang.String, java.lang.String, java.lang.String, com.sun.javafx.runtime.async.AsyncOperationListener<T>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
flags: (0x0004) ACC_PROTECTED
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 0
aload 4
invokespecial com.sun.javafx.runtime.async.AbstractAsyncOperation.<init>:(Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.javafx.runtime.async.AbstractRemoteResource.headers:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.javafx.runtime.async.AbstractRemoteResource.responseHeaders:Ljava/util/Map;
3: aload 0
aload 1
putfield com.sun.javafx.runtime.async.AbstractRemoteResource.url:Ljava/lang/String;
4: aload 0
aload 2
putfield com.sun.javafx.runtime.async.AbstractRemoteResource.method:Ljava/lang/String;
5: aload 0
aload 3
putfield com.sun.javafx.runtime.async.AbstractRemoteResource.outboundContent:Ljava/lang/String;
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/runtime/async/AbstractRemoteResource<TT;>;
0 7 1 url Ljava/lang/String;
0 7 2 method Ljava/lang/String;
0 7 3 outboundContent Ljava/lang/String;
0 7 4 listener Lcom/sun/javafx/runtime/async/AsyncOperationListener<TT;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/sun/javafx/runtime/async/AsyncOperationListener<TT;>;)V
MethodParameters:
Name Flags
url
method
outboundContent
listener
protected abstract T processStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/InputStream;)TT;
MethodParameters:
Name Flags
stream
public T call();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: new java.net.URL
dup
aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.url:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
aload 3
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
4: StackMap locals: java.net.URL java.io.InputStream java.lang.String
StackMap stack:
aload 1
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
checkcast java.net.HttpURLConnection
astore 4
start local 4 5: aload 4
aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.method:Ljava/lang/String;
invokevirtual java.net.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
6: aload 4
iconst_1
invokevirtual java.net.HttpURLConnection.setDoInput:(Z)V
7: aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.headers:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: com.sun.javafx.runtime.async.AbstractRemoteResource java.net.URL java.io.InputStream java.lang.String java.net.HttpURLConnection top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 9: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 10: aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 11: aload 8
ifnull 13
aload 8
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
12: aload 4
aload 7
aload 8
invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
end local 8 end local 7 end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
14: aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.outboundContent:Ljava/lang/String;
ifnull 21
aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.method:Ljava/lang/String;
ldc "POST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
15: aload 4
iconst_1
invokevirtual java.net.HttpURLConnection.setDoOutput:(Z)V
16: aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.outboundContent:Ljava/lang/String;
ldc "utf-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 5
start local 5 17: aload 4
ldc "Content-Length"
aload 5
arraylength
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
18: aload 4
invokevirtual java.net.HttpURLConnection.getOutputStream:()Ljava/io/OutputStream;
astore 6
start local 6 19: aload 6
aload 5
invokevirtual java.io.OutputStream.write:([B)V
20: aload 6
invokevirtual java.io.OutputStream.close:()V
end local 6 end local 5 21: StackMap locals: com.sun.javafx.runtime.async.AbstractRemoteResource java.net.URL java.io.InputStream java.lang.String java.net.HttpURLConnection
StackMap stack:
aload 4
invokevirtual java.net.HttpURLConnection.connect:()V
22: aload 0
aload 4
invokevirtual java.net.HttpURLConnection.getContentLength:()I
putfield com.sun.javafx.runtime.async.AbstractRemoteResource.fileSize:I
23: aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.fileSize:I
invokevirtual com.sun.javafx.runtime.async.AbstractRemoteResource.setProgressMax:(I)V
24: aload 0
aload 4
invokevirtual java.net.HttpURLConnection.getHeaderFields:()Ljava/util/Map;
putfield com.sun.javafx.runtime.async.AbstractRemoteResource.responseHeaders:Ljava/util/Map;
25: new com.sun.javafx.runtime.async.AbstractRemoteResource$ProgressInputStream
dup
aload 0
aload 4
invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
invokespecial com.sun.javafx.runtime.async.AbstractRemoteResource$ProgressInputStream.<init>:(Lcom/sun/javafx/runtime/async/AbstractRemoteResource;Ljava/io/InputStream;)V
astore 2
end local 4 26: goto 30
27: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 4
start local 4 28: aload 0
aload 4
invokevirtual java.net.URLConnection.getContentLength:()I
invokevirtual com.sun.javafx.runtime.async.AbstractRemoteResource.setProgressMax:(I)V
29: new com.sun.javafx.runtime.async.AbstractRemoteResource$ProgressInputStream
dup
aload 0
aload 4
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
invokespecial com.sun.javafx.runtime.async.AbstractRemoteResource$ProgressInputStream.<init>:(Lcom/sun/javafx/runtime/async/AbstractRemoteResource;Ljava/io/InputStream;)V
astore 2
end local 4 30: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.javafx.runtime.async.AbstractRemoteResource.processStream:(Ljava/io/InputStream;)Ljava/lang/Object;
astore 5
31: aload 2
invokevirtual java.io.InputStream.close:()V
32: aload 5
areturn
33: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
34: aload 2
invokevirtual java.io.InputStream.close:()V
35: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/javafx/runtime/async/AbstractRemoteResource<TT;>;
1 36 1 u Ljava/net/URL;
2 36 2 stream Ljava/io/InputStream;
3 36 3 protocol Ljava/lang/String;
5 26 4 conn Ljava/net/HttpURLConnection;
9 13 5 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
10 13 7 key Ljava/lang/String;
11 13 8 value Ljava/lang/String;
17 21 5 outBytes [B
19 21 6 out Ljava/io/OutputStream;
28 30 4 con Ljava/net/URLConnection;
Exception table:
from to target type
30 31 33 any
Exceptions:
throws java.io.IOException
Signature: ()TT;
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.headers:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/runtime/async/AbstractRemoteResource<TT;>;
0 2 1 header Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
header
value
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield com.sun.javafx.runtime.async.AbstractRemoteResource.responseHeaders:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 2: aload 3
ifnull 11
3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 4: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
start local 5 5: goto 9
6: StackMap locals: com.sun.javafx.runtime.async.AbstractRemoteResource java.lang.String java.lang.String java.util.List java.lang.StringBuilder java.util.Iterator
StackMap stack:
aload 4
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 9
8: aload 4
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/javafx/runtime/async/AbstractRemoteResource<TT;>;
0 12 1 header Ljava/lang/String;
1 12 2 value Ljava/lang/String;
2 12 3 list Ljava/util/List<Ljava/lang/String;>;
4 11 4 sb Ljava/lang/StringBuilder;
5 11 5 iter Ljava/util/Iterator;
MethodParameters:
Name Flags
header
}
Signature: <T:Ljava/lang/Object;>Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TT;>;
SourceFile: "AbstractRemoteResource.java"
NestMembers:
com.sun.javafx.runtime.async.AbstractRemoteResource$ProgressInputStream
InnerClasses:
protected ProgressInputStream = com.sun.javafx.runtime.async.AbstractRemoteResource$ProgressInputStream of com.sun.javafx.runtime.async.AbstractRemoteResource
public abstract Entry = java.util.Map$Entry of java.util.Map