final class jdk.internal.net.http.HttpResponseImpl$RawChannelProvider implements jdk.internal.net.http.websocket.RawChannel$Provider
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.HttpResponseImpl$RawChannelProvider
super_class: java.lang.Object
{
private final jdk.internal.net.http.HttpConnection connection;
descriptor: Ljdk/internal/net/http/HttpConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.Exchange<?> exchange;
descriptor: Ljdk/internal/net/http/Exchange;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/net/http/Exchange<*>;
private jdk.internal.net.http.websocket.RawChannel rawchan;
descriptor: Ljdk/internal/net/http/websocket/RawChannel;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/net/http/HttpResponseImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.internal.net.http.HttpConnection, jdk.internal.net.http.Exchange<?>);
descriptor: (Ljdk/internal/net/http/HttpConnection;Ljdk/internal/net/http/Exchange;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.connection:Ljdk/internal/net/http/HttpConnection;
2: aload 0
aload 2
putfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.exchange:Ljdk/internal/net/http/Exchange;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/HttpResponseImpl$RawChannelProvider;
0 4 1 conn Ljdk/internal/net/http/HttpConnection;
0 4 2 exch Ljdk/internal/net/http/Exchange<*>;
Signature: (Ljdk/internal/net/http/HttpConnection;Ljdk/internal/net/http/Exchange<*>;)V
MethodParameters:
Name Flags
conn
exch
static jdk.internal.net.http.HttpResponseImpl$RawChannelProvider create(jdk.internal.net.http.Response, jdk.internal.net.http.Exchange<?>);
descriptor: (Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;)Ljdk/internal/net/http/HttpResponseImpl$RawChannelProvider;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.net.http.Response.request:()Ljdk/internal/net/http/HttpRequestImpl;
invokevirtual jdk.internal.net.http.HttpRequestImpl.isWebSocket:()Z
ifeq 2
1: new jdk.internal.net.http.HttpResponseImpl$RawChannelProvider
dup
aload 0
aload 1
invokestatic jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.connection:(Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;)Ljdk/internal/net/http/HttpConnection;
aload 1
invokespecial jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.<init>:(Ljdk/internal/net/http/HttpConnection;Ljdk/internal/net/http/Exchange;)V
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resp Ljdk/internal/net/http/Response;
0 3 1 exch Ljdk/internal/net/http/Exchange<*>;
Signature: (Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange<*>;)Ljdk/internal/net/http/HttpResponseImpl$RawChannelProvider;
MethodParameters:
Name Flags
resp
exch
public synchronized jdk.internal.net.http.websocket.RawChannel rawChannel();
descriptor: ()Ljdk/internal/net/http/websocket/RawChannel;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.rawchan:Ljdk/internal/net/http/websocket/RawChannel;
ifnonnull 6
1: aload 0
invokevirtual jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.exchangeImpl:()Ljdk/internal/net/http/ExchangeImpl;
astore 1
start local 1 2: aload 1
instanceof jdk.internal.net.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.internal.net.http.ExchangeImpl
StackMap stack:
aload 1
checkcast jdk.internal.net.http.Http1Exchange
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljdk/internal/net/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/internal/net/http/Http1Exchange.drainLeftOverBytes()Ljava/nio/ByteBuffer; (5)
()Ljava/nio/ByteBuffer;
astore 2
start local 2 5: aload 0
new jdk.internal.net.http.RawChannelTube
dup
aload 0
getfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.connection:Ljdk/internal/net/http/HttpConnection;
aload 2
invokespecial jdk.internal.net.http.RawChannelTube.<init>:(Ljdk/internal/net/http/HttpConnection;Ljava/util/function/Supplier;)V
putfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.rawchan:Ljdk/internal/net/http/websocket/RawChannel;
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.rawchan:Ljdk/internal/net/http/websocket/RawChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/HttpResponseImpl$RawChannelProvider;
2 6 1 exchImpl Ljdk/internal/net/http/ExchangeImpl<*>;
5 6 2 initial Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;
private static jdk.internal.net.http.HttpConnection connection(jdk.internal.net.http.Response, jdk.internal.net.http.Exchange<?>);
descriptor: (Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;)Ljdk/internal/net/http/HttpConnection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
getfield jdk.internal.net.http.Exchange.exchImpl:Ljdk/internal/net/http/ExchangeImpl;
ifnonnull 3
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.$assertionsDisabled:Z
ifne 2
aload 0
getfield jdk.internal.net.http.Response.statusCode:I
sipush 407
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.net.http.Exchange.exchImpl:Ljdk/internal/net/http/ExchangeImpl;
invokevirtual jdk.internal.net.http.ExchangeImpl.connection:()Ljdk/internal/net/http/HttpConnection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 resp Ljdk/internal/net/http/Response;
0 4 1 exch Ljdk/internal/net/http/Exchange<*>;
Signature: (Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange<*>;)Ljdk/internal/net/http/HttpConnection;
MethodParameters:
Name Flags
resp
exch
private jdk.internal.net.http.ExchangeImpl<?> exchangeImpl();
descriptor: ()Ljdk/internal/net/http/ExchangeImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.exchange:Ljdk/internal/net/http/Exchange;
ifnull 1
aload 0
getfield jdk.internal.net.http.HttpResponseImpl$RawChannelProvider.exchange:Ljdk/internal/net/http/Exchange;
getfield jdk.internal.net.http.Exchange.exchImpl:Ljdk/internal/net/http/ExchangeImpl;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: jdk.internal.net.http.ExchangeImpl
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/HttpResponseImpl$RawChannelProvider;
Signature: ()Ljdk/internal/net/http/ExchangeImpl<*>;
}
SourceFile: "HttpResponseImpl.java"
NestHost: jdk.internal.net.http.HttpResponseImpl
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final RawChannelProvider = jdk.internal.net.http.HttpResponseImpl$RawChannelProvider of jdk.internal.net.http.HttpResponseImpl
public abstract Provider = jdk.internal.net.http.websocket.RawChannel$Provider of jdk.internal.net.http.websocket.RawChannel