class jdk.incubator.http.HttpResponseImpl<T> extends jdk.incubator.http.HttpResponse<T> implements jdk.incubator.http.internal.websocket.RawChannel$Provider
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.HttpResponseImpl
super_class: jdk.incubator.http.HttpResponse
{
final int responseCode;
descriptor: I
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.Exchange<T> exchange;
descriptor: Ljdk/incubator/http/Exchange;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/incubator/http/Exchange<TT;>;
final jdk.incubator.http.HttpRequest initialRequest;
descriptor: Ljdk/incubator/http/HttpRequest;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpRequestImpl finalRequest;
descriptor: Ljdk/incubator/http/HttpRequestImpl;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpHeaders ;
descriptor: Ljdk/incubator/http/HttpHeaders;
flags: (0x0010) ACC_FINAL
final javax.net.ssl.SSLParameters sslParameters;
descriptor: Ljavax/net/ssl/SSLParameters;
flags: (0x0010) ACC_FINAL
final java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpClient$Version version;
descriptor: Ljdk/incubator/http/HttpClient$Version;
flags: (0x0010) ACC_FINAL
jdk.incubator.http.internal.websocket.RawChannel rawchan;
descriptor: Ljdk/incubator/http/internal/websocket/RawChannel;
flags: (0x0000)
final jdk.incubator.http.HttpConnection connection;
descriptor: Ljdk/incubator/http/HttpConnection;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.Stream<T> stream;
descriptor: Ljdk/incubator/http/Stream;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/incubator/http/Stream<TT;>;
final T body;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Signature: TT;
public void <init>(jdk.incubator.http.HttpRequest, jdk.incubator.http.Response, T, jdk.incubator.http.Exchange<T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/Response;Ljava/lang/Object;Ljdk/incubator/http/Exchange;)V
flags: (0x0001) ACC_PUBLIC
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
invokespecial jdk.incubator.http.HttpResponse.<init>:()V
1: aload 0
aload 2
invokevirtual jdk.incubator.http.Response.statusCode:()I
putfield jdk.incubator.http.HttpResponseImpl.responseCode:I
2: aload 0
aload 4
putfield jdk.incubator.http.HttpResponseImpl.exchange:Ljdk/incubator/http/Exchange;
3: aload 0
aload 1
putfield jdk.incubator.http.HttpResponseImpl.initialRequest:Ljdk/incubator/http/HttpRequest;
4: aload 0
aload 0
getfield jdk.incubator.http.HttpResponseImpl.exchange:Ljdk/incubator/http/Exchange;
invokevirtual jdk.incubator.http.Exchange.request:()Ljdk/incubator/http/HttpRequestImpl;
putfield jdk.incubator.http.HttpResponseImpl.finalRequest:Ljdk/incubator/http/HttpRequestImpl;
5: aload 0
aload 2
invokevirtual jdk.incubator.http.Response.headers:()Ljdk/incubator/http/HttpHeaders;
putfield jdk.incubator.http.HttpResponseImpl.headers:Ljdk/incubator/http/HttpHeaders;
6: aload 0
aload 4
invokevirtual jdk.incubator.http.Exchange.client:()Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.sslParameters:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.net.ssl.SSLParameters
putfield jdk.incubator.http.HttpResponseImpl.sslParameters:Ljavax/net/ssl/SSLParameters;
7: aload 0
aload 0
getfield jdk.incubator.http.HttpResponseImpl.finalRequest:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.uri:()Ljava/net/URI;
putfield jdk.incubator.http.HttpResponseImpl.uri:Ljava/net/URI;
8: aload 0
aload 2
invokevirtual jdk.incubator.http.Response.version:()Ljdk/incubator/http/HttpClient$Version;
putfield jdk.incubator.http.HttpResponseImpl.version:Ljdk/incubator/http/HttpClient$Version;
9: aload 0
aload 4
getfield jdk.incubator.http.Exchange.exchImpl:Ljdk/incubator/http/ExchangeImpl;
invokevirtual jdk.incubator.http.ExchangeImpl.connection:()Ljdk/incubator/http/HttpConnection;
putfield jdk.incubator.http.HttpResponseImpl.connection:Ljdk/incubator/http/HttpConnection;
10: aload 0
aconst_null
putfield jdk.incubator.http.HttpResponseImpl.stream:Ljdk/incubator/http/Stream;
11: aload 0
aload 3
putfield jdk.incubator.http.HttpResponseImpl.body:Ljava/lang/Object;
12: return
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/HttpResponseImpl<TT;>;
0 13 1 initialRequest Ljdk/incubator/http/HttpRequest;
0 13 2 response Ljdk/incubator/http/Response;
0 13 3 body TT;
0 13 4 exch Ljdk/incubator/http/Exchange<TT;>;
Signature: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/Response;TT;Ljdk/incubator/http/Exchange<TT;>;)V
MethodParameters:
Name Flags
initialRequest
response
body
exch
public void <init>(jdk.incubator.http.Response, jdk.incubator.http.HttpRequestImpl, jdk.incubator.http.ImmutableHeaders, jdk.incubator.http.Stream<T>, javax.net.ssl.SSLParameters, );
descriptor: (Ljdk/incubator/http/Response;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/ImmutableHeaders;Ljdk/incubator/http/Stream;Ljavax/net/ssl/SSLParameters;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial jdk.incubator.http.HttpResponse.<init>:()V
1: aload 0
aload 1
invokevirtual jdk.incubator.http.Response.statusCode:()I
putfield jdk.incubator.http.HttpResponseImpl.responseCode:I
2: aload 0
aconst_null
putfield jdk.incubator.http.HttpResponseImpl.exchange:Ljdk/incubator/http/Exchange;
3: aload 0
aconst_null
putfield jdk.incubator.http.HttpResponseImpl.initialRequest:Ljdk/incubator/http/HttpRequest;
4: aload 0
aload 2
putfield jdk.incubator.http.HttpResponseImpl.finalRequest:Ljdk/incubator/http/HttpRequestImpl;
5: aload 0
aload 3
putfield jdk.incubator.http.HttpResponseImpl.headers:Ljdk/incubator/http/HttpHeaders;
6: aload 0
aload 5
putfield jdk.incubator.http.HttpResponseImpl.sslParameters:Ljavax/net/ssl/SSLParameters;
7: aload 0
aload 0
getfield jdk.incubator.http.HttpResponseImpl.finalRequest:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.uri:()Ljava/net/URI;
putfield jdk.incubator.http.HttpResponseImpl.uri:Ljava/net/URI;
8: aload 0
getstatic jdk.incubator.http.HttpClient$Version.HTTP_2:Ljdk/incubator/http/HttpClient$Version;
putfield jdk.incubator.http.HttpResponseImpl.version:Ljdk/incubator/http/HttpClient$Version;
9: aload 0
aload 4
invokevirtual jdk.incubator.http.Stream.connection:()Ljdk/incubator/http/HttpConnection;
putfield jdk.incubator.http.HttpResponseImpl.connection:Ljdk/incubator/http/HttpConnection;
10: aload 0
aload 4
putfield jdk.incubator.http.HttpResponseImpl.stream:Ljdk/incubator/http/Stream;
11: aload 0
aload 6
putfield jdk.incubator.http.HttpResponseImpl.body:Ljava/lang/Object;
12: 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 13 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
0 13 1 response Ljdk/incubator/http/Response;
0 13 2 pushRequest Ljdk/incubator/http/HttpRequestImpl;
0 13 3 headers Ljdk/incubator/http/ImmutableHeaders;
0 13 4 stream Ljdk/incubator/http/Stream<TT;>;
0 13 5 sslParameters Ljavax/net/ssl/SSLParameters;
0 13 6 body TT;
Signature: (Ljdk/incubator/http/Response;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/ImmutableHeaders;Ljdk/incubator/http/Stream<TT;>;Ljavax/net/ssl/SSLParameters;TT;)V
MethodParameters:
Name Flags
response
pushRequest
headers
stream
sslParameters
body
private jdk.incubator.http.ExchangeImpl<?> exchangeImpl();
descriptor: ()Ljdk/incubator/http/ExchangeImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.exchange:Ljdk/incubator/http/Exchange;
ifnull 1
aload 0
getfield jdk.incubator.http.HttpResponseImpl.exchange:Ljdk/incubator/http/Exchange;
getfield jdk.incubator.http.Exchange.exchImpl:Ljdk/incubator/http/ExchangeImpl;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.incubator.http.HttpResponseImpl.stream:Ljdk/incubator/http/Stream;
StackMap locals:
StackMap stack: jdk.incubator.http.ExchangeImpl
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
Signature: ()Ljdk/incubator/http/ExchangeImpl<*>;
public int statusCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.responseCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
public jdk.incubator.http.HttpRequest request();
descriptor: ()Ljdk/incubator/http/HttpRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.initialRequest:Ljdk/incubator/http/HttpRequest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
public jdk.incubator.http.HttpRequest finalRequest();
descriptor: ()Ljdk/incubator/http/HttpRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.finalRequest:Ljdk/incubator/http/HttpRequestImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
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.HttpResponseImpl.headers:Ljdk/incubator/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
public T body();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.body:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
Signature: ()TT;
public javax.net.ssl.SSLParameters sslParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.sslParameters:Ljavax/net/ssl/SSLParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
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.HttpResponseImpl.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
public jdk.incubator.http.HttpClient$Version version();
descriptor: ()Ljdk/incubator/http/HttpClient$Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.version:Ljdk/incubator/http/HttpClient$Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
public synchronized jdk.incubator.http.internal.websocket.RawChannel rawChannel();
descriptor: ()Ljdk/incubator/http/internal/websocket/RawChannel;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpResponseImpl.rawchan:Ljdk/incubator/http/internal/websocket/RawChannel;
ifnonnull 6
1: aload 0
invokevirtual jdk.incubator.http.HttpResponseImpl.exchangeImpl:()Ljdk/incubator/http/ExchangeImpl;
astore 1
start local 1 2: aload 1
instanceof jdk.incubator.http.Http1Exchange
ifne 4
3: new java.lang.UnsupportedOperationException
dup
ldc "RawChannel is not supported over HTTP/2"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: jdk.incubator.http.ExchangeImpl
StackMap stack:
aload 1
checkcast jdk.incubator.http.Http1Exchange
invokevirtual jdk.incubator.http.Http1Exchange.getBuffer:()Ljava/nio/ByteBuffer;
astore 2
start local 2 5: aload 0
new jdk.incubator.http.RawChannelImpl
dup
aload 0
getfield jdk.incubator.http.HttpResponseImpl.exchange:Ljdk/incubator/http/Exchange;
invokevirtual jdk.incubator.http.Exchange.client:()Ljdk/incubator/http/HttpClientImpl;
aload 0
getfield jdk.incubator.http.HttpResponseImpl.connection:Ljdk/incubator/http/HttpConnection;
aload 2
invokespecial jdk.incubator.http.RawChannelImpl.<init>:(Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpConnection;Ljava/nio/ByteBuffer;)V
putfield jdk.incubator.http.HttpResponseImpl.rawchan:Ljdk/incubator/http/internal/websocket/RawChannel;
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpResponseImpl.rawchan:Ljdk/incubator/http/internal/websocket/RawChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
2 6 1 exchImpl Ljdk/incubator/http/ExchangeImpl<*>;
5 6 2 remaining Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
public java.util.concurrent.CompletableFuture<jdk.incubator.http.HttpHeaders> trailers();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpHeaders;>;
static void logResponse(jdk.incubator.http.Response);
descriptor: (Ljdk/incubator/http/Response;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: invokestatic jdk.incubator.http.internal.common.Log.requests:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 0
invokevirtual jdk.incubator.http.Response.request:()Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.method:()Ljava/lang/String;
astore 2
start local 2 4: aload 0
invokevirtual jdk.incubator.http.Response.request:()Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.uri:()Ljava/net/URI;
astore 3
start local 3 5: aload 3
ifnonnull 6
ldc ""
goto 7
StackMap locals: java.lang.StringBuilder java.lang.String java.net.URI
StackMap stack:
6: aload 3
invokevirtual java.net.URI.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
7: astore 4
start local 4 8: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
9: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 0
invokevirtual jdk.incubator.http.Response.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
14: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.incubator.http.internal.common.Log.logResponse:(Ljava/lang/String;[Ljava/lang/Object;)V
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 r Ljdk/incubator/http/Response;
3 16 1 sb Ljava/lang/StringBuilder;
4 16 2 method Ljava/lang/String;
5 16 3 uri Ljava/net/URI;
8 16 4 uristring Ljava/lang/String;
MethodParameters:
Name Flags
r
}
Signature: <T:Ljava/lang/Object;>Ljdk/incubator/http/HttpResponse<TT;>;Ljdk/incubator/http/internal/websocket/RawChannel$Provider;
SourceFile: "HttpResponseImpl.java"
InnerClasses:
public final Version = jdk.incubator.http.HttpClient$Version of jdk.incubator.http.HttpClient
public abstract Provider = jdk.incubator.http.internal.websocket.RawChannel$Provider of jdk.incubator.http.internal.websocket.RawChannel