class jdk.incubator.http.HttpRequestImpl extends jdk.incubator.http.HttpRequest implements jdk.incubator.http.internal.websocket.WebSocketRequest
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.HttpRequestImpl
super_class: jdk.incubator.http.HttpRequest
{
private final jdk.incubator.http.HttpHeaders ;
descriptor: Ljdk/incubator/http/HttpHeaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.common.HttpHeadersImpl ;
descriptor: Ljdk/incubator/http/internal/common/HttpHeadersImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.net.Proxy proxy;
descriptor: Ljava/net/Proxy;
flags: (0x0002) ACC_PRIVATE
private java.net.InetSocketAddress authority;
descriptor: Ljava/net/InetSocketAddress;
flags: (0x0002) ACC_PRIVATE
private final java.lang.String method;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.incubator.http.HttpRequest$BodyPublisher requestPublisher;
descriptor: Ljdk/incubator/http/HttpRequest$BodyPublisher;
flags: (0x0010) ACC_FINAL
final boolean secure;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean expectContinue;
descriptor: Z
flags: (0x0010) ACC_FINAL
private boolean isWebSocket;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0002) ACC_PRIVATE
private final java.time.Duration timeout;
descriptor: Ljava/time/Duration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Optional<jdk.incubator.http.HttpClient$Version> version;
descriptor: Ljava/util/Optional;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Optional<Ljdk/incubator/http/HttpClient$Version;>;
public static final java.lang.String USER_AGENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/incubator/http/HttpRequestImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.incubator.http.HttpRequestImpl.$assertionsDisabled:Z
3: invokestatic jdk.incubator.http.HttpRequestImpl.userAgent:()Ljava/lang/String;
putstatic jdk.incubator.http.HttpRequestImpl.USER_AGENT:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String userAgent();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, 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;
jdk/incubator/http/HttpRequestImpl.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: new java.lang.StringBuilder
dup
ldc "Java-http-client/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 pa Ljava/security/PrivilegedAction<Ljava/lang/String;>;
2 3 1 version Ljava/lang/String;
public void <init>(jdk.incubator.http.HttpRequestBuilderImpl);
descriptor: (Ljdk/incubator/http/HttpRequestBuilderImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.incubator.http.HttpRequest.<init>:()V
1: aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.method:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
aload 2
ifnonnull 3
ldc "GET"
goto 4
StackMap locals: jdk.incubator.http.HttpRequestImpl jdk.incubator.http.HttpRequestBuilderImpl java.lang.String
StackMap stack: jdk.incubator.http.HttpRequestImpl
3: aload 2
StackMap locals: jdk.incubator.http.HttpRequestImpl jdk.incubator.http.HttpRequestBuilderImpl java.lang.String
StackMap stack: jdk.incubator.http.HttpRequestImpl java.lang.String
4: putfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
5: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.headers:()Ljdk/incubator/http/internal/common/HttpHeadersImpl;
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.map:()Ljava/util/Map;
getstatic jdk.incubator.http.internal.common.Utils.ALLOWED_HEADERS:Ljava/util/function/Predicate;
invokestatic jdk.incubator.http.ImmutableHeaders.of:(Ljava/util/Map;Ljava/util/function/Predicate;)Ljdk/incubator/http/ImmutableHeaders;
putfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
6: aload 0
new jdk.incubator.http.internal.common.HttpHeadersImpl
dup
invokespecial jdk.incubator.http.internal.common.HttpHeadersImpl.<init>:()V
putfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
7: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.uri:()Ljava/net/URI;
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
8: getstatic jdk.incubator.http.HttpRequestImpl.$assertionsDisabled:Z
ifne 9
aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
ifnonnull 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
10: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.expectContinue:()Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
11: aload 0
aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield jdk.incubator.http.HttpRequestImpl.secure:Z
12: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.bodyPublisher:()Ljdk/incubator/http/HttpRequest$BodyPublisher;
putfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
13: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.timeout:()Ljava/time/Duration;
putfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
14: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.version:()Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/incubator/http/HttpRequestImpl;
0 16 1 builder Ljdk/incubator/http/HttpRequestBuilderImpl;
2 16 2 method Ljava/lang/String;
MethodParameters:
Name Flags
builder
public void <init>(jdk.incubator.http.HttpRequest, java.net.ProxySelector, java.security.AccessControlContext);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljava/net/ProxySelector;Ljava/security/AccessControlContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial jdk.incubator.http.HttpRequest.<init>:()V
1: aload 1
invokevirtual jdk.incubator.http.HttpRequest.method:()Ljava/lang/String;
astore 4
start local 4 2: aload 0
aload 4
ifnonnull 3
ldc "GET"
goto 4
StackMap locals: jdk.incubator.http.HttpRequestImpl jdk.incubator.http.HttpRequest java.net.ProxySelector java.security.AccessControlContext java.lang.String
StackMap stack: jdk.incubator.http.HttpRequestImpl
3: aload 4
StackMap locals: jdk.incubator.http.HttpRequestImpl jdk.incubator.http.HttpRequest java.net.ProxySelector java.security.AccessControlContext java.lang.String
StackMap stack: jdk.incubator.http.HttpRequestImpl java.lang.String
4: putfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
5: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.headers:()Ljdk/incubator/http/HttpHeaders;
putfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
6: aload 1
instanceof jdk.incubator.http.HttpRequestImpl
ifeq 10
7: aload 0
aload 1
checkcast jdk.incubator.http.HttpRequestImpl
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
putfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
8: aload 0
aload 1
checkcast jdk.incubator.http.HttpRequestImpl
getfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
putfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
new jdk.incubator.http.internal.common.HttpHeadersImpl
dup
invokespecial jdk.incubator.http.internal.common.HttpHeadersImpl.<init>:()V
putfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
ldc "User-Agent"
getstatic jdk.incubator.http.HttpRequestImpl.USER_AGENT:Ljava/lang/String;
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
12: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
13: aload 0
getfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
ifeq 16
14: aload 0
aload 1
checkcast jdk.incubator.http.HttpRequestImpl
getfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
15: goto 19
16: StackMap locals:
StackMap stack:
aload 2
ifnull 18
17: aload 0
aload 2
aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
invokestatic jdk.incubator.http.HttpRequestImpl.retrieveProxy:(Ljava/net/ProxySelector;Ljava/net/URI;)Ljava/net/Proxy;
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
goto 19
18: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.expectContinue:()Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
20: aload 0
aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield jdk.incubator.http.HttpRequestImpl.secure:Z
21: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.bodyPublisher:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.http.HttpRequest$BodyPublisher
putfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
22: aload 3
ifnull 24
aload 0
getfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
instanceof jdk.incubator.http.RequestPublishers$FilePublisher
ifeq 24
23: aload 0
getfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
checkcast jdk.incubator.http.RequestPublishers$FilePublisher
aload 3
invokevirtual jdk.incubator.http.RequestPublishers$FilePublisher.setAccessControlContext:(Ljava/security/AccessControlContext;)V
24: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.timeout:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.time.Duration
putfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
25: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.version:()Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
26: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/incubator/http/HttpRequestImpl;
0 27 1 request Ljdk/incubator/http/HttpRequest;
0 27 2 ps Ljava/net/ProxySelector;
0 27 3 acc Ljava/security/AccessControlContext;
2 27 4 method Ljava/lang/String;
MethodParameters:
Name Flags
request
ps
acc
public void <init>(java.net.URI, java.lang.String, jdk.incubator.http.HttpRequestImpl);
descriptor: (Ljava/net/URI;Ljava/lang/String;Ljdk/incubator/http/HttpRequestImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial jdk.incubator.http.HttpRequest.<init>:()V
1: aload 0
aload 2
ifnonnull 2
ldc "GET"
goto 3
StackMap locals: jdk.incubator.http.HttpRequestImpl java.net.URI java.lang.String jdk.incubator.http.HttpRequestImpl
StackMap stack: jdk.incubator.http.HttpRequestImpl
2: aload 2
StackMap locals: jdk.incubator.http.HttpRequestImpl java.net.URI java.lang.String jdk.incubator.http.HttpRequestImpl
StackMap stack: jdk.incubator.http.HttpRequestImpl java.lang.String
3: putfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
4: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
putfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
5: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
putfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
6: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
putfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
7: aload 0
aload 1
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
8: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
9: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
10: aload 0
aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield jdk.incubator.http.HttpRequestImpl.secure:Z
11: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
putfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
12: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
putfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
13: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
putfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
14: aload 0
aload 3
invokevirtual jdk.incubator.http.HttpRequestImpl.version:()Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/incubator/http/HttpRequestImpl;
0 16 1 uri Ljava/net/URI;
0 16 2 method Ljava/lang/String;
0 16 3 other Ljdk/incubator/http/HttpRequestImpl;
MethodParameters:
Name Flags
uri
method
other
void <init>(java.lang.String, java.net.InetSocketAddress);
descriptor: (Ljava/lang/String;Ljava/net/InetSocketAddress;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial jdk.incubator.http.HttpRequest.<init>:()V
1: aload 0
aload 1
putfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
2: aload 0
new jdk.incubator.http.internal.common.HttpHeadersImpl
dup
invokespecial jdk.incubator.http.internal.common.HttpHeadersImpl.<init>:()V
putfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
3: aload 0
invokestatic jdk.incubator.http.ImmutableHeaders.empty:()Ljdk/incubator/http/ImmutableHeaders;
putfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
4: aload 0
new java.lang.StringBuilder
dup
ldc "socket://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 2
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
7: aload 0
aconst_null
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
8: aload 0
aconst_null
putfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
9: aload 0
aload 2
putfield jdk.incubator.http.HttpRequestImpl.authority:Ljava/net/InetSocketAddress;
10: aload 0
iconst_0
putfield jdk.incubator.http.HttpRequestImpl.secure:Z
11: aload 0
iconst_0
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
12: aload 0
aconst_null
putfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
13: aload 0
getstatic jdk.incubator.http.HttpClient$Version.HTTP_1_1:Ljdk/incubator/http/HttpClient$Version;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/http/HttpRequestImpl;
0 15 1 method Ljava/lang/String;
0 15 2 authority Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
method
authority
static jdk.incubator.http.HttpRequestImpl (jdk.incubator.http.HttpRequestImpl, jdk.incubator.http.internal.common.HttpHeadersImpl);
descriptor: (Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/internal/common/HttpHeadersImpl;)Ljdk/incubator/http/HttpRequestImpl;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.incubator.http.HttpRequestImpl
dup
aload 0
aload 1
invokespecial jdk.incubator.http.HttpRequestImpl.<init>:(Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/internal/common/HttpHeadersImpl;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 parent Ljdk/incubator/http/HttpRequestImpl;
0 1 1 headers Ljdk/incubator/http/internal/common/HttpHeadersImpl;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
parent
headers
private void (jdk.incubator.http.HttpRequestImpl, jdk.incubator.http.internal.common.HttpHeadersImpl);
descriptor: (Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/internal/common/HttpHeadersImpl;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial jdk.incubator.http.HttpRequest.<init>:()V
1: aload 0
aload 2
ldc ":method"
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
2: invokedynamic get()Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpRequestImpl.lambda$1()Ljava/io/IOException; (6)
()Ljava/io/IOException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.String
3: putfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
4: aload 2
ldc ":path"
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
5: invokedynamic get()Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpRequestImpl.lambda$2()Ljava/io/IOException; (6)
()Ljava/io/IOException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.String
6: astore 3
start local 3 7: aload 2
ldc ":scheme"
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
8: invokedynamic get()Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpRequestImpl.lambda$3()Ljava/io/IOException; (6)
()Ljava/io/IOException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.String
9: astore 4
start local 4 10: aload 2
ldc ":authority"
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
11: invokedynamic get()Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpRequestImpl.lambda$4()Ljava/io/IOException; (6)
()Ljava/io/IOException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.String
12: astore 5
start local 5 13: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 6
start local 6 14: aload 6
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 0
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
16: aload 0
aconst_null
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
17: aload 0
aload 2
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.map:()Ljava/util/Map;
getstatic jdk.incubator.http.internal.common.Utils.ALLOWED_HEADERS:Ljava/util/function/Predicate;
invokestatic jdk.incubator.http.ImmutableHeaders.of:(Ljava/util/Map;Ljava/util/function/Predicate;)Ljdk/incubator/http/ImmutableHeaders;
putfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
18: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
putfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
19: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
20: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.secure:Z
putfield jdk.incubator.http.HttpRequestImpl.secure:Z
21: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
putfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
22: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
putfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
23: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
putfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
24: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
25: return
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 26 0 this Ljdk/incubator/http/HttpRequestImpl;
0 26 1 parent Ljdk/incubator/http/HttpRequestImpl;
0 26 2 headers Ljdk/incubator/http/internal/common/HttpHeadersImpl;
7 26 3 path Ljava/lang/String;
10 26 4 scheme Ljava/lang/String;
13 26 5 authority Ljava/lang/String;
14 26 6 sb Ljava/lang/StringBuilder;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
parent
headers
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
ifnonnull 1
ldc ""
goto 2
StackMap locals: jdk.incubator.http.HttpRequestImpl
StackMap stack: new 0 new 0
1: aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
StackMap locals: jdk.incubator.http.HttpRequestImpl
StackMap stack: new 0 new 0 java.lang.String
2: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpRequestImpl;
public jdk.incubator.http.HttpHeaders ();
descriptor: ()Ljdk/incubator/http/HttpHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
java.net.InetSocketAddress authority();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.authority:Ljava/net/InetSocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
void setH2Upgrade(jdk.incubator.http.Http2ClientImpl);
descriptor: (Ljdk/incubator/http/Http2ClientImpl;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
ldc "Connection"
ldc "Upgrade, HTTP2-Settings"
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
ldc "Upgrade"
ldc "h2c"
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
ldc "HTTP2-Settings"
aload 1
invokevirtual jdk.incubator.http.Http2ClientImpl.getSettingsString:()Ljava/lang/String;
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/HttpRequestImpl;
0 4 1 h2client Ljdk/incubator/http/Http2ClientImpl;
MethodParameters:
Name Flags
h2client
public boolean expectContinue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
private static java.net.Proxy retrieveProxy(java.net.ProxySelector, java.net.URI);
descriptor: (Ljava/net/ProxySelector;Ljava/net/URI;)Ljava/net/Proxy;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
aload 1
invokevirtual java.net.ProxySelector.select:(Ljava/net/URI;)Ljava/util/List;
astore 3
start local 3 2: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 6
3: aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.net.Proxy
astore 4
start local 4 4: aload 4
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
if_acmpne 6
5: aload 4
astore 2
end local 4 6: StackMap locals: java.net.Proxy java.util.List
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 ps Ljava/net/ProxySelector;
0 7 1 uri Ljava/net/URI;
1 7 2 proxy Ljava/net/Proxy;
2 7 3 pl Ljava/util/List<Ljava/net/Proxy;>;
4 6 4 p Ljava/net/Proxy;
MethodParameters:
Name Flags
ps
uri
java.net.InetSocketAddress proxy();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
ifnull 2
aload 0
getfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
if_acmpne 2
1: aload 0
getfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
ldc "CONNECT"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/HttpRequestImpl;
boolean secure();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.secure:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
public void setProxy(java.net.Proxy);
descriptor: (Ljava/net/Proxy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.HttpRequestImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.incubator.http.HttpRequestImpl.proxy:Ljava/net/Proxy;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpRequestImpl;
0 3 1 proxy Ljava/net/Proxy;
MethodParameters:
Name Flags
proxy
public void isWebSocket(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpRequestImpl;
0 2 1 is Z
MethodParameters:
Name Flags
is
boolean isWebSocket();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
public java.util.Optional<jdk.incubator.http.HttpRequest$BodyPublisher> bodyPublisher();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
ifnonnull 1
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
goto 2
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpRequestImpl.requestPublisher:Ljdk/incubator/http/HttpRequest$BodyPublisher;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
2: StackMap locals:
StackMap stack: java.util.Optional
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpRequestImpl;
Signature: ()Ljava/util/Optional<Ljdk/incubator/http/HttpRequest$BodyPublisher;>;
public java.lang.String method();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
public java.net.URI uri();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
public java.util.Optional<java.time.Duration> timeout();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
ifnonnull 1
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.incubator.http.HttpRequestImpl.timeout:Ljava/time/Duration;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
StackMap locals:
StackMap stack: java.util.Optional
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpRequestImpl;
Signature: ()Ljava/util/Optional<Ljava/time/Duration;>;
jdk.incubator.http.HttpHeaders ();
descriptor: ()Ljdk/incubator/http/HttpHeaders;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
jdk.incubator.http.internal.common.HttpHeadersImpl ();
descriptor: ()Ljdk/incubator/http/internal/common/HttpHeadersImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
public java.util.Optional<jdk.incubator.http.HttpClient$Version> version();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
Signature: ()Ljava/util/Optional<Ljdk/incubator/http/HttpClient$Version;>;
void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpRequestImpl;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
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 jdk.incubator.http.HttpRequestImpl.systemHeaders:Ljdk/incubator/http/internal/common/HttpHeadersImpl;
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.HttpHeadersImpl.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpRequestImpl;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
java.net.InetSocketAddress getAddress();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0000)
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.HttpRequestImpl.uri:()Ljava/net/URI;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual jdk.incubator.http.HttpRequestImpl.authority:()Ljava/net/InetSocketAddress;
areturn
3: StackMap locals: java.net.URI
StackMap stack:
aload 1
invokevirtual java.net.URI.getPort:()I
istore 2
start local 2 4: iload 2
iconst_m1
if_icmpne 9
5: aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ldc "https"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: sipush 443
istore 2
7: goto 9
8: StackMap locals: int
StackMap stack:
bipush 80
istore 2
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
astore 3
start local 3 10: iload 2
istore 4
start local 4 11: aload 0
invokevirtual jdk.incubator.http.HttpRequestImpl.proxy:()Ljava/net/InetSocketAddress;
ifnonnull 14
12: aload 3
iload 4
invokedynamic run(Ljava/lang/String;I)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;
jdk/incubator/http/HttpRequestImpl.lambda$5(Ljava/lang/String;I)Ljava/net/InetSocketAddress; (6)
()Ljava/net/InetSocketAddress;
astore 5
start local 5 13: aload 5
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.InetSocketAddress
areturn
end local 5 14: StackMap locals: java.lang.String int
StackMap stack:
aload 3
iload 4
invokestatic java.net.InetSocketAddress.createUnresolved:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/http/HttpRequestImpl;
1 15 1 uri Ljava/net/URI;
4 15 2 p I
10 15 3 host Ljava/lang/String;
11 15 4 port I
13 14 5 pa Ljava/security/PrivilegedAction<Ljava/net/InetSocketAddress;>;
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.io.IOException lambda$1();
descriptor: ()Ljava/io/IOException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new java.io.IOException
dup
ldc "No method in Push Promise"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.io.IOException lambda$2();
descriptor: ()Ljava/io/IOException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new java.io.IOException
dup
ldc "No path in Push Promise"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.io.IOException lambda$3();
descriptor: ()Ljava/io/IOException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new java.io.IOException
dup
ldc "No scheme in Push Promise"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.io.IOException lambda$4();
descriptor: ()Ljava/io/IOException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new java.io.IOException
dup
ldc "No authority in Push Promise"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.net.InetSocketAddress lambda$5(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/net/InetSocketAddress;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
0: new java.net.InetSocketAddress
dup
aload 0
iload 1
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HttpRequestImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Type = java.net.Proxy$Type of java.net.Proxy
public final Version = jdk.incubator.http.HttpClient$Version of jdk.incubator.http.HttpClient
public abstract BodyPublisher = jdk.incubator.http.HttpRequest$BodyPublisher of jdk.incubator.http.HttpRequest
FilePublisher = jdk.incubator.http.RequestPublishers$FilePublisher of jdk.incubator.http.RequestPublishers