final class jdk.internal.net.http.SocketTube$SSLDirectBufferSource implements jdk.internal.net.http.SocketTube$BufferSource
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.SocketTube$SSLDirectBufferSource
super_class: java.lang.Object
{
private final jdk.internal.net.http.common.BufferSupplier factory;
descriptor: Ljdk/internal/net/http/common/BufferSupplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.HttpClientImpl client;
descriptor: Ljdk/internal/net/http/HttpClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer current;
descriptor: Ljava/nio/ByteBuffer;
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/SocketTube;
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.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.internal.net.http.HttpClientImpl);
descriptor: (Ljdk/internal/net/http/HttpClientImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.net.http.HttpClientImpl
putfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.client:Ljdk/internal/net/http/HttpClientImpl;
2: aload 0
aload 1
invokevirtual jdk.internal.net.http.HttpClientImpl.getSSLBufferSupplier:()Ljdk/internal/net/http/common/BufferSupplier;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.net.http.common.BufferSupplier
putfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.factory:Ljdk/internal/net/http/common/BufferSupplier;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/SocketTube$SSLDirectBufferSource;
0 4 1 client Ljdk/internal/net/http/HttpClientImpl;
MethodParameters:
Name Flags
client
public final java.nio.ByteBuffer getBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.client:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.isSelectorThread:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.current:Ljava/nio/ByteBuffer;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: aload 0
aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.factory:Ljdk/internal/net/http/common/BufferSupplier;
invokeinterface jdk.internal.net.http.common.BufferSupplier.get:()Ljava/nio/ByteBuffer;
dup_x1
putfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.current:Ljava/nio/ByteBuffer;
astore 1
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 5
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 6
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
ifeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/SocketTube$SSLDirectBufferSource;
2 7 1 buf Ljava/nio/ByteBuffer;
public final java.util.List<java.nio.ByteBuffer> append(java.util.List<java.nio.ByteBuffer>, java.nio.ByteBuffer, int);
descriptor: (Ljava/util/List;Ljava/nio/ByteBuffer;I)Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.client:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.isSelectorThread:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 2
aload 2
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 3
iload 3
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 4
aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.current:Ljava/nio/ByteBuffer;
aload 2
if_acmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.current:Ljava/nio/ByteBuffer;
5: aload 2
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
6: aload 2
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
7: aload 1
aload 2
invokestatic jdk.internal.net.http.SocketTube.listOf:(Ljava/util/List;Ljava/lang/Object;)Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/SocketTube$SSLDirectBufferSource;
0 8 1 list Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 8 2 buf Ljava/nio/ByteBuffer;
0 8 3 start I
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;Ljava/nio/ByteBuffer;I)Ljava/util/List<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
list
buf
start
public void returnUnused(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 1
aload 1
aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.current:Ljava/nio/ByteBuffer;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.current:Ljava/nio/ByteBuffer;
astore 2
start local 2 2: aload 2
ifnull 7
3: getstatic jdk.internal.net.http.SocketTube$SSLDirectBufferSource.$assertionsDisabled:Z
ifne 4
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aconst_null
putfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.current:Ljava/nio/ByteBuffer;
5: aload 2
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
6: aload 0
getfield jdk.internal.net.http.SocketTube$SSLDirectBufferSource.factory:Ljdk/internal/net/http/common/BufferSupplier;
aload 2
invokeinterface jdk.internal.net.http.common.BufferSupplier.recycle:(Ljava/nio/ByteBuffer;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/SocketTube$SSLDirectBufferSource;
0 8 1 buffer Ljava/nio/ByteBuffer;
2 8 2 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
}
SourceFile: "SocketTube.java"
NestHost: jdk.internal.net.http.SocketTube
InnerClasses:
public abstract BufferSource = jdk.internal.net.http.SocketTube$BufferSource of jdk.internal.net.http.SocketTube
private final SSLDirectBufferSource = jdk.internal.net.http.SocketTube$SSLDirectBufferSource of jdk.internal.net.http.SocketTube