public abstract class jdk.incubator.http.HttpRequest
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.incubator.http.HttpRequest
super_class: java.lang.Object
{
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpRequest;
public static jdk.incubator.http.HttpRequest$Builder newBuilder(java.net.URI);
descriptor: (Ljava/net/URI;)Ljdk/incubator/http/HttpRequest$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.HttpRequestBuilderImpl
dup
aload 0
invokespecial jdk.incubator.http.HttpRequestBuilderImpl.<init>:(Ljava/net/URI;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uri Ljava/net/URI;
MethodParameters:
Name Flags
uri
public static jdk.incubator.http.HttpRequest$Builder newBuilder();
descriptor: ()Ljdk/incubator/http/HttpRequest$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.incubator.http.HttpRequestBuilderImpl
dup
invokespecial jdk.incubator.http.HttpRequestBuilderImpl.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public abstract java.util.Optional<jdk.incubator.http.HttpRequest$BodyPublisher> bodyPublisher();
descriptor: ()Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Optional<Ljdk/incubator/http/HttpRequest$BodyPublisher;>;
public abstract java.lang.String method();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Optional<java.time.Duration> timeout();
descriptor: ()Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Optional<Ljava/time/Duration;>;
public abstract boolean expectContinue();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.net.URI uri();
descriptor: ()Ljava/net/URI;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Optional<jdk.incubator.http.HttpClient$Version> version();
descriptor: ()Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Optional<Ljdk/incubator/http/HttpClient$Version;>;
public abstract jdk.incubator.http.HttpHeaders ();
descriptor: ()Ljdk/incubator/http/HttpHeaders;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.incubator.http.HttpRequest
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.incubator.http.HttpRequest
astore 2
start local 2 3: aload 2
invokevirtual jdk.incubator.http.HttpRequest.method:()Ljava/lang/String;
aload 0
invokevirtual jdk.incubator.http.HttpRequest.method:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals: jdk.incubator.http.HttpRequest
StackMap stack:
aload 2
invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
aload 0
invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
invokevirtual java.net.URI.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.incubator.http.HttpRequest.headers:()Ljdk/incubator/http/HttpHeaders;
aload 0
invokevirtual jdk.incubator.http.HttpRequest.headers:()Ljdk/incubator/http/HttpHeaders;
invokevirtual jdk.incubator.http.HttpHeaders.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/HttpRequest;
0 10 1 obj Ljava/lang/Object;
3 10 2 that Ljdk/incubator/http/HttpRequest;
MethodParameters:
Name Flags
obj
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.HttpRequest.method:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
1: aload 0
invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
invokevirtual java.net.URI.hashCode:()I
2: iadd
3: aload 0
invokevirtual jdk.incubator.http.HttpRequest.headers:()Ljdk/incubator/http/HttpHeaders;
invokevirtual jdk.incubator.http.HttpHeaders.hashCode:()I
4: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/HttpRequest;
}
SourceFile: "HttpRequest.java"
NestMembers:
jdk.incubator.http.HttpRequest$BodyPublisher jdk.incubator.http.HttpRequest$Builder
InnerClasses:
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
public abstract Builder = jdk.incubator.http.HttpRequest$Builder of jdk.incubator.http.HttpRequest