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.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$BodyProcessor requestProcessor;
descriptor: Ljdk/incubator/http/HttpRequest$BodyProcessor;
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 duration;
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 void <init>(jdk.incubator.http.HttpRequestBuilderImpl);
descriptor: (Ljdk/incubator/http/HttpRequestBuilderImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.incubator.http.HttpRequest.<init>:()V
1: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.method:()Ljava/lang/String;
putfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
2: 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;
3: 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;
4: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.uri:()Ljava/net/URI;
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
5: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.expectContinue:()Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
6: 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
7: aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.body:()Ljdk/incubator/http/HttpRequest$BodyProcessor;
ifnonnull 10
8: aload 0
invokestatic jdk.incubator.http.HttpRequest.noBody:()Ljdk/incubator/http/HttpRequest$BodyProcessor;
putfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
9: goto 11
10: StackMap locals: jdk.incubator.http.HttpRequestImpl jdk.incubator.http.HttpRequestBuilderImpl
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.body:()Ljdk/incubator/http/HttpRequest$BodyProcessor;
putfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.duration:()Ljava/time/Duration;
putfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
12: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestBuilderImpl.version:()Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/incubator/http/HttpRequestImpl;
0 14 1 builder Ljdk/incubator/http/HttpRequestBuilderImpl;
MethodParameters:
Name Flags
builder
public void <init>(jdk.incubator.http.HttpRequest);
descriptor: (Ljdk/incubator/http/HttpRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.incubator.http.HttpRequest.<init>:()V
1: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.method:()Ljava/lang/String;
putfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.headers:()Ljdk/incubator/http/HttpHeaders;
putfield jdk.incubator.http.HttpRequestImpl.userHeaders:Ljdk/incubator/http/HttpHeaders;
3: aload 1
instanceof jdk.incubator.http.HttpRequestImpl
ifeq 7
4: 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;
5: aload 0
aload 1
checkcast jdk.incubator.http.HttpRequestImpl
getfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
putfield jdk.incubator.http.HttpRequestImpl.isWebSocket:Z
6: goto 8
7: StackMap locals: jdk.incubator.http.HttpRequestImpl jdk.incubator.http.HttpRequest
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;
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
9: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.expectContinue:()Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
10: 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
11: aload 1
invokevirtual jdk.incubator.http.HttpRequest.bodyProcessor:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifne 14
12: aload 0
invokestatic jdk.incubator.http.HttpRequest.noBody:()Ljdk/incubator/http/HttpRequest$BodyProcessor;
putfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.bodyProcessor:()Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast jdk.incubator.http.HttpRequest$BodyProcessor
putfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.duration:()Ljava/time/Duration;
putfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
16: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequest.version:()Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/incubator/http/HttpRequestImpl;
0 18 1 request Ljdk/incubator/http/HttpRequest;
MethodParameters:
Name Flags
request
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.expectContinue:Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
9: 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
10: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
putfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
11: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
putfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
12: aload 0
aload 3
getfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
putfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
13: aload 0
aload 3
invokevirtual jdk.incubator.http.HttpRequestImpl.version:()Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
14: return
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;
0 15 1 uri Ljava/net/URI;
0 15 2 method Ljava/lang/String;
0 15 3 other Ljdk/incubator/http/HttpRequestImpl;
MethodParameters:
Name Flags
uri
method
other
void <init>(java.lang.String, jdk.incubator.http.HttpClientImpl, java.net.InetSocketAddress);
descriptor: (Ljava/lang/String;Ljdk/incubator/http/HttpClientImpl;Ljava/net/InetSocketAddress;)V
flags: (0x0000)
Code:
stack=4, 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 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 3
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;
aload 3
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;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
putfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
5: aload 0
invokestatic jdk.incubator.http.HttpRequest.noBody:()Ljdk/incubator/http/HttpRequest$BodyProcessor;
putfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
6: aload 0
aload 3
putfield jdk.incubator.http.HttpRequestImpl.authority:Ljava/net/InetSocketAddress;
7: aload 0
iconst_0
putfield jdk.incubator.http.HttpRequestImpl.secure:Z
8: aload 0
iconst_0
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
9: aload 0
aconst_null
putfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
10: aload 0
aload 2
invokevirtual jdk.incubator.http.HttpClientImpl.version:()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;
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/incubator/http/HttpRequestImpl;
0 12 1 method Ljava/lang/String;
0 12 2 client Ljdk/incubator/http/HttpClientImpl;
0 12 3 authority Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
method
client
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$0()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$1()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$2()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$3()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
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;
17: 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;
18: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
putfield jdk.incubator.http.HttpRequestImpl.expectContinue:Z
19: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.secure:Z
putfield jdk.incubator.http.HttpRequestImpl.secure:Z
20: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
putfield jdk.incubator.http.HttpRequestImpl.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
21: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
putfield jdk.incubator.http.HttpRequestImpl.acc:Ljava/security/AccessControlContext;
22: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
putfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
23: aload 0
aload 1
getfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
putfield jdk.incubator.http.HttpRequestImpl.version:Ljava/util/Optional;
24: 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 25 0 this Ljdk/incubator/http/HttpRequestImpl;
0 25 1 parent Ljdk/incubator/http/HttpRequestImpl;
0 25 2 headers Ljdk/incubator/http/internal/common/HttpHeadersImpl;
7 25 3 path Ljava/lang/String;
10 25 4 scheme Ljava/lang/String;
13 25 5 authority Ljava/lang/String;
14 25 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;
java.net.InetSocketAddress proxy(jdk.incubator.http.HttpClientImpl);
descriptor: (Ljdk/incubator/http/HttpClientImpl;)Ljava/net/InetSocketAddress;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.incubator.http.HttpClientImpl.proxy:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.ProxySelector
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 1
invokevirtual jdk.incubator.http.HttpClientImpl.proxy:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.ProxySelector
astore 2
3: StackMap locals: java.net.ProxySelector
StackMap stack:
aload 2
ifnull 4
aload 0
getfield jdk.incubator.http.HttpRequestImpl.method:Ljava/lang/String;
ldc "CONNECT"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: StackMap locals:
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.incubator.http.HttpRequestImpl.uri:Ljava/net/URI;
invokevirtual java.net.ProxySelector.select:(Ljava/net/URI;)Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.net.Proxy
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/HttpRequestImpl;
0 6 1 client Ljdk/incubator/http/HttpClientImpl;
1 6 2 ps Ljava/net/ProxySelector;
MethodParameters:
Name Flags
client
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 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$BodyProcessor> bodyProcessor();
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.requestProcessor:Ljdk/incubator/http/HttpRequest$BodyProcessor;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)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/HttpRequest$BodyProcessor;>;
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.time.Duration duration();
descriptor: ()Ljava/time/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpRequestImpl.duration:Ljava/time/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequestImpl;
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
public java.net.InetSocketAddress getAddress(jdk.incubator.http.HttpClientImpl);
descriptor: (Ljdk/incubator/http/HttpClientImpl;)Ljava/net/InetSocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.incubator.http.HttpRequestImpl.uri:()Ljava/net/URI;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
invokevirtual jdk.incubator.http.HttpRequestImpl.authority:()Ljava/net/InetSocketAddress;
areturn
3: StackMap locals: java.net.URI
StackMap stack:
aload 2
invokevirtual java.net.URI.getPort:()I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpne 9
5: aload 2
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 3
7: goto 9
8: StackMap locals: int
StackMap stack:
bipush 80
istore 3
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
astore 4
start local 4 10: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpRequestImpl.proxy:(Ljdk/incubator/http/HttpClientImpl;)Ljava/net/InetSocketAddress;
ifnonnull 12
11: new java.net.InetSocketAddress
dup
aload 4
iload 3
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
areturn
12: StackMap locals: java.lang.String
StackMap stack:
aload 4
iload 3
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 13 0 this Ljdk/incubator/http/HttpRequestImpl;
0 13 1 client Ljdk/incubator/http/HttpClientImpl;
1 13 2 uri Ljava/net/URI;
4 13 3 port I
10 13 4 host Ljava/lang/String;
MethodParameters:
Name Flags
client
private static java.io.IOException lambda$0();
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$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 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$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 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$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 authority in Push Promise"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)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 Version = jdk.incubator.http.HttpClient$Version of jdk.incubator.http.HttpClient
public abstract BodyProcessor = jdk.incubator.http.HttpRequest$BodyProcessor of jdk.incubator.http.HttpRequest