public abstract class jdk.incubator.http.HttpClient
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.incubator.http.HttpClient
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/HttpClient;
public static jdk.incubator.http.HttpClient newHttpClient();
descriptor: ()Ljdk/incubator/http/HttpClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.incubator.http.HttpClient.newBuilder:()Ljdk/incubator/http/HttpClient$Builder;
invokevirtual jdk.incubator.http.HttpClient$Builder.build:()Ljdk/incubator/http/HttpClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.incubator.http.HttpClient$Builder newBuilder();
descriptor: ()Ljdk/incubator/http/HttpClient$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.incubator.http.HttpClientBuilderImpl
dup
invokespecial jdk.incubator.http.HttpClientBuilderImpl.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public abstract java.util.Optional<java.net.CookieHandler> cookieHandler();
descriptor: ()Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Optional<Ljava/net/CookieHandler;>;
public abstract jdk.incubator.http.HttpClient$Redirect followRedirects();
descriptor: ()Ljdk/incubator/http/HttpClient$Redirect;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Optional<java.net.ProxySelector> proxy();
descriptor: ()Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Optional<Ljava/net/ProxySelector;>;
public abstract javax.net.ssl.SSLContext sslContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract javax.net.ssl.SSLParameters sslParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Optional<java.net.Authenticator> authenticator();
descriptor: ()Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Optional<Ljava/net/Authenticator;>;
public abstract jdk.incubator.http.HttpClient$Version version();
descriptor: ()Ljdk/incubator/http/HttpClient$Version;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Optional<java.util.concurrent.Executor> executor();
descriptor: ()Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Optional<Ljava/util/concurrent/Executor;>;
public abstract <T> jdk.incubator.http.HttpResponse<T> send(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpResponse$BodyHandler<T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler;)Ljdk/incubator/http/HttpResponse;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
Signature: <T:Ljava/lang/Object;>(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;)Ljdk/incubator/http/HttpResponse<TT;>;
MethodParameters:
Name Flags
req
responseBodyHandler
public abstract <T> java.util.concurrent.CompletableFuture<jdk.incubator.http.HttpResponse<T>> sendAsync(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpResponse$BodyHandler<T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
req
responseBodyHandler
public abstract <U, T> java.util.concurrent.CompletableFuture<U> sendAsync(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpResponse$MultiSubscriber<U, T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$MultiSubscriber;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <U:Ljava/lang/Object;T:Ljava/lang/Object;>(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$MultiSubscriber<TU;TT;>;)Ljava/util/concurrent/CompletableFuture<TU;>;
MethodParameters:
Name Flags
req
multiSubscriber
public jdk.incubator.http.WebSocket$Builder newWebSocketBuilder();
descriptor: ()Ljdk/incubator/http/WebSocket$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClient;
}
SourceFile: "HttpClient.java"
NestMembers:
jdk.incubator.http.HttpClient$Builder jdk.incubator.http.HttpClient$Redirect jdk.incubator.http.HttpClient$Version
InnerClasses:
public abstract Builder = jdk.incubator.http.HttpClient$Builder of jdk.incubator.http.HttpClient
public final Redirect = jdk.incubator.http.HttpClient$Redirect of jdk.incubator.http.HttpClient
public final Version = jdk.incubator.http.HttpClient$Version of jdk.incubator.http.HttpClient
public abstract BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse
public abstract MultiSubscriber = jdk.incubator.http.HttpResponse$MultiSubscriber of jdk.incubator.http.HttpResponse
public abstract Builder = jdk.incubator.http.WebSocket$Builder of jdk.incubator.http.WebSocket