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 java.util.Optional<jdk.incubator.http.HttpResponse<T>> previousResponse;
descriptor: Ljava/util/Optional;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Optional<Ljdk/incubator/http/HttpResponse<TT;>;>;
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, jdk.incubator.http.HttpResponse<T>, T, jdk.incubator.http.Exchange<T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/Response;Ljdk/incubator/http/HttpResponse;Ljava/lang/Object;Ljdk/incubator/http/Exchange;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 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 5
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 3
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
putfield jdk.incubator.http.HttpResponseImpl.previousResponse:Ljava/util/Optional;
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 5
invokevirtual jdk.incubator.http.Exchange.client:()Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.sslParameters:()Ljavax/net/ssl/SSLParameters;
putfield jdk.incubator.http.HttpResponseImpl.sslParameters:Ljavax/net/ssl/SSLParameters;
7: aload 0
aload 2
invokevirtual jdk.incubator.http.Response.request:()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 5
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 4
putfield jdk.incubator.http.HttpResponseImpl.body:Ljava/lang/Object;
12: return
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 initialRequest Ljdk/incubator/http/HttpRequest;
0 13 2 response Ljdk/incubator/http/Response;
0 13 3 previousResponse Ljdk/incubator/http/HttpResponse<TT;>;
0 13 4 body TT;
0 13 5 exch Ljdk/incubator/http/Exchange<TT;>;
Signature: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/Response;Ljdk/incubator/http/HttpResponse<TT;>;TT;Ljdk/incubator/http/Exchange<TT;>;)V
MethodParameters:
Name Flags
initialRequest
response
previousResponse
body
exch
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 java.util.Optional<jdk.incubator.http.HttpResponse<T>> previousResponse();
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.HttpResponseImpl.previousResponse:Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpResponseImpl<TT;>;
Signature: ()Ljava/util/Optional<Ljdk/incubator/http/HttpResponse<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
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljdk/incubator/http/Http1Exchange;)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/Http1Exchange.drainLeftOverBytes()Ljava/nio/ByteBuffer; (5)
()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/util/function/Supplier;)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 initial Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;
Exceptions:
throws java.io.IOException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual jdk.incubator.http.HttpResponseImpl.request:()Ljdk/incubator/http/HttpRequest;
invokevirtual jdk.incubator.http.HttpRequest.method:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
invokevirtual jdk.incubator.http.HttpResponseImpl.request:()Ljdk/incubator/http/HttpRequest;
invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
astore 3
start local 3 3: aload 3
ifnonnull 4
ldc ""
goto 5
StackMap locals: java.lang.StringBuilder java.lang.String java.net.URI
StackMap stack:
4: aload 3
invokevirtual java.net.URI.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: astore 4
start local 4 6: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
7: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 4
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 0
invokevirtual jdk.incubator.http.HttpResponseImpl.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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/HttpResponseImpl<TT;>;
1 13 1 sb Ljava/lang/StringBuilder;
2 13 2 method Ljava/lang/String;
3 13 3 uri Ljava/net/URI;
6 13 4 uristring Ljava/lang/String;
}
Signature: <T:Ljava/lang/Object;>Ljdk/incubator/http/HttpResponse<TT;>;Ljdk/incubator/http/internal/websocket/RawChannel$Provider;
SourceFile: "HttpResponseImpl.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 Provider = jdk.incubator.http.internal.websocket.RawChannel$Provider of jdk.incubator.http.internal.websocket.RawChannel