abstract class jdk.incubator.http.HttpConnection implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.incubator.http.HttpConnection
super_class: java.lang.Object
{
protected jdk.incubator.http.HttpConnection$Mode mode;
descriptor: Ljdk/incubator/http/HttpConnection$Mode;
flags: (0x0004) ACC_PROTECTED
final java.net.InetSocketAddress address;
descriptor: Ljava/net/InetSocketAddress;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpClientImpl client;
descriptor: Ljdk/incubator/http/HttpClientImpl;
flags: (0x0010) ACC_FINAL
void <init>(java.net.InetSocketAddress, jdk.incubator.http.HttpClientImpl);
descriptor: (Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;)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.incubator.http.HttpConnection.address:Ljava/net/InetSocketAddress;
2: aload 0
aload 2
putfield jdk.incubator.http.HttpConnection.client:Ljdk/incubator/http/HttpClientImpl;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/HttpConnection;
0 4 1 address Ljava/net/InetSocketAddress;
0 4 2 client Ljdk/incubator/http/HttpClientImpl;
MethodParameters:
Name Flags
address
client
public static jdk.incubator.http.HttpConnection getConnection(java.net.InetSocketAddress, jdk.incubator.http.HttpClientImpl, jdk.incubator.http.HttpRequestImpl);
descriptor: (Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpRequestImpl;)Ljdk/incubator/http/HttpConnection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic jdk.incubator.http.HttpConnection.getConnectionImpl:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpRequestImpl;Z)Ljdk/incubator/http/HttpConnection;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addr Ljava/net/InetSocketAddress;
0 1 1 client Ljdk/incubator/http/HttpClientImpl;
0 1 2 request Ljdk/incubator/http/HttpRequestImpl;
MethodParameters:
Name Flags
addr
client
request
public static jdk.incubator.http.HttpConnection getConnection(java.net.InetSocketAddress, jdk.incubator.http.HttpClientImpl, jdk.incubator.http.HttpRequestImpl, boolean);
descriptor: (Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpRequestImpl;Z)Ljdk/incubator/http/HttpConnection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokestatic jdk.incubator.http.HttpConnection.getConnectionImpl:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpRequestImpl;Z)Ljdk/incubator/http/HttpConnection;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 addr Ljava/net/InetSocketAddress;
0 1 1 client Ljdk/incubator/http/HttpClientImpl;
0 1 2 request Ljdk/incubator/http/HttpRequestImpl;
0 1 3 isHttp2 Z
MethodParameters:
Name Flags
addr
client
request
isHttp2
public abstract void connect();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
public abstract java.util.concurrent.CompletableFuture<java.lang.Void> connectAsync();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
abstract boolean connected();
descriptor: ()Z
flags: (0x0400) ACC_ABSTRACT
abstract boolean isSecure();
descriptor: ()Z
flags: (0x0400) ACC_ABSTRACT
abstract boolean isProxied();
descriptor: ()Z
flags: (0x0400) ACC_ABSTRACT
abstract java.util.concurrent.CompletableFuture<java.lang.Void> whenReceivingResponse();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0400) ACC_ABSTRACT
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
final boolean isOpen();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.HttpConnection.channel:()Ljava/nio/channels/SocketChannel;
invokevirtual java.nio.channels.SocketChannel.isOpen:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpConnection;
private static jdk.incubator.http.HttpConnection getPlainConnection(java.net.InetSocketAddress, java.net.InetSocketAddress, jdk.incubator.http.HttpRequestImpl, jdk.incubator.http.HttpClientImpl);
descriptor: (Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;)Ljdk/incubator/http/HttpConnection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual jdk.incubator.http.HttpRequestImpl.isWebSocket:()Z
ifeq 2
aload 1
ifnull 2
1: new jdk.incubator.http.PlainTunnelingConnection
dup
aload 0
aload 1
aload 3
invokespecial jdk.incubator.http.PlainTunnelingConnection.<init>:(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new jdk.incubator.http.PlainHttpConnection
dup
aload 0
aload 3
invokespecial jdk.incubator.http.PlainHttpConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;)V
areturn
4: StackMap locals:
StackMap stack:
new jdk.incubator.http.PlainProxyConnection
dup
aload 1
aload 3
invokespecial jdk.incubator.http.PlainProxyConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 addr Ljava/net/InetSocketAddress;
0 5 1 proxy Ljava/net/InetSocketAddress;
0 5 2 request Ljdk/incubator/http/HttpRequestImpl;
0 5 3 client Ljdk/incubator/http/HttpClientImpl;
MethodParameters:
Name Flags
addr
proxy
request
client
private static jdk.incubator.http.HttpConnection getSSLConnection(java.net.InetSocketAddress, java.net.InetSocketAddress, jdk.incubator.http.HttpRequestImpl, java.lang.String[], boolean, jdk.incubator.http.HttpClientImpl);
descriptor: (Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpRequestImpl;[Ljava/lang/String;ZLjdk/incubator/http/HttpClientImpl;)Ljdk/incubator/http/HttpConnection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, 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 1
ifnull 2
1: new jdk.incubator.http.SSLTunnelConnection
dup
aload 0
aload 5
aload 1
invokespecial jdk.incubator.http.SSLTunnelConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;Ljava/net/InetSocketAddress;)V
areturn
2: StackMap locals:
StackMap stack:
iload 4
ifne 4
3: new jdk.incubator.http.SSLConnection
dup
aload 0
aload 5
aload 3
invokespecial jdk.incubator.http.SSLConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;[Ljava/lang/String;)V
areturn
4: StackMap locals:
StackMap stack:
new jdk.incubator.http.AsyncSSLConnection
dup
aload 0
aload 5
aload 3
invokespecial jdk.incubator.http.AsyncSSLConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;[Ljava/lang/String;)V
areturn
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 5 0 addr Ljava/net/InetSocketAddress;
0 5 1 proxy Ljava/net/InetSocketAddress;
0 5 2 request Ljdk/incubator/http/HttpRequestImpl;
0 5 3 alpn [Ljava/lang/String;
0 5 4 isHttp2 Z
0 5 5 client Ljdk/incubator/http/HttpClientImpl;
MethodParameters:
Name Flags
addr
proxy
request
alpn
isHttp2
client
private static jdk.incubator.http.HttpConnection getConnectionImpl(java.net.InetSocketAddress, jdk.incubator.http.HttpClientImpl, jdk.incubator.http.HttpRequestImpl, boolean);
descriptor: (Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpRequestImpl;Z)Ljdk/incubator/http/HttpConnection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
aload 1
invokevirtual jdk.incubator.http.HttpRequestImpl.proxy:(Ljdk/incubator/http/HttpClientImpl;)Ljava/net/InetSocketAddress;
astore 5
start local 5 2: aload 2
invokevirtual jdk.incubator.http.HttpRequestImpl.secure:()Z
istore 6
start local 6 3: aload 1
invokevirtual jdk.incubator.http.HttpClientImpl.connectionPool:()Ljdk/incubator/http/ConnectionPool;
astore 7
start local 7 4: aconst_null
astore 8
start local 8 5: iload 6
ifeq 9
iload 3
ifeq 9
6: iconst_2
anewarray java.lang.String
astore 8
7: aload 8
iconst_0
ldc "h2"
aastore
8: aload 8
iconst_1
ldc "http/1.1"
aastore
9: StackMap locals: java.net.InetSocketAddress jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpRequestImpl int jdk.incubator.http.HttpConnection java.net.InetSocketAddress int jdk.incubator.http.ConnectionPool java.lang.String[]
StackMap stack:
iload 6
ifne 14
10: aload 7
iconst_0
aload 0
aload 5
invokevirtual jdk.incubator.http.ConnectionPool.getConnection:(ZLjava/net/InetSocketAddress;Ljava/net/InetSocketAddress;)Ljdk/incubator/http/HttpConnection;
astore 4
11: aload 4
ifnull 13
12: aload 4
areturn
13: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 2
aload 1
invokestatic jdk.incubator.http.HttpConnection.getPlainConnection:(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;)Ljdk/incubator/http/HttpConnection;
areturn
14: StackMap locals:
StackMap stack:
iload 3
ifne 16
15: aload 7
iconst_1
aload 0
aload 5
invokevirtual jdk.incubator.http.ConnectionPool.getConnection:(ZLjava/net/InetSocketAddress;Ljava/net/InetSocketAddress;)Ljdk/incubator/http/HttpConnection;
astore 4
16: StackMap locals:
StackMap stack:
aload 4
ifnull 18
17: aload 4
areturn
18: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 2
aload 8
iload 3
aload 1
invokestatic jdk.incubator.http.HttpConnection.getSSLConnection:(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpRequestImpl;[Ljava/lang/String;ZLjdk/incubator/http/HttpClientImpl;)Ljdk/incubator/http/HttpConnection;
areturn
end local 8 end local 7 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 19 0 addr Ljava/net/InetSocketAddress;
0 19 1 client Ljdk/incubator/http/HttpClientImpl;
0 19 2 request Ljdk/incubator/http/HttpRequestImpl;
0 19 3 isHttp2 Z
1 19 4 c Ljdk/incubator/http/HttpConnection;
2 19 5 proxy Ljava/net/InetSocketAddress;
3 19 6 secure Z
4 19 7 pool Ljdk/incubator/http/ConnectionPool;
5 19 8 alpn [Ljava/lang/String;
MethodParameters:
Name Flags
addr
client
request
isHttp2
void (jdk.incubator.http.HttpHeaders);
descriptor: (Ljdk/incubator/http/HttpHeaders;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual jdk.incubator.http.HttpConnection.close:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.http.HttpConnection.isOpen:()Z
ifne 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpConnection.client:Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.connectionPool:()Ljdk/incubator/http/ConnectionPool;
astore 2
start local 2 6: aload 1
ldc "Connection"
invokeinterface jdk.incubator.http.HttpHeaders.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
7: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/http/HttpConnection.lambda$0(Ljava/lang/String;)Ljava/lang/Boolean; (6)
(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
8: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
9: istore 3
start local 3 10: iload 3
ifeq 13
11: aload 2
aload 0
invokevirtual jdk.incubator.http.ConnectionPool.returnToPool:(Ljdk/incubator/http/HttpConnection;)V
12: goto 14
13: StackMap locals: jdk.incubator.http.ConnectionPool int
StackMap stack:
aload 0
invokevirtual jdk.incubator.http.HttpConnection.close:()V
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/http/HttpConnection;
0 15 1 hdrs Ljdk/incubator/http/HttpHeaders;
6 15 2 pool Ljdk/incubator/http/ConnectionPool;
10 15 3 keepAlive Z
MethodParameters:
Name Flags
hdrs
final void checkWrite(long, java.nio.ByteBuffer);
descriptor: (JLjava/nio/ByteBuffer;)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 3
invokevirtual jdk.incubator.http.HttpConnection.write:(Ljava/nio/ByteBuffer;)J
lstore 4
start local 4 1: lload 4
lload 1
lcmp
ifeq 3
2: new java.io.IOException
dup
ldc "incorrect number of bytes written"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: long
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/HttpConnection;
0 4 1 expected J
0 4 3 buffer Ljava/nio/ByteBuffer;
1 4 4 written J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
expected
buffer
final void checkWrite(long, java.nio.ByteBuffer[], int, int);
descriptor: (J[Ljava/nio/ByteBuffer;II)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
aload 3
iload 4
iload 5
invokevirtual jdk.incubator.http.HttpConnection.write:([Ljava/nio/ByteBuffer;II)J
lstore 6
start local 6 1: lload 6
lload 1
lcmp
ifeq 3
2: new java.io.IOException
dup
ldc "incorrect number of bytes written"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: long
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/HttpConnection;
0 4 1 expected J
0 4 3 buffers [Ljava/nio/ByteBuffer;
0 4 4 start I
0 4 5 length I
1 4 6 written J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
expected
buffers
start
length
abstract java.nio.channels.SocketChannel channel();
descriptor: ()Ljava/nio/channels/SocketChannel;
flags: (0x0400) ACC_ABSTRACT
final java.net.InetSocketAddress address();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpConnection.address:Ljava/net/InetSocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpConnection;
synchronized void configureMode(jdk.incubator.http.HttpConnection$Mode);
descriptor: (Ljdk/incubator/http/HttpConnection$Mode;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.incubator.http.HttpConnection.mode:Ljdk/incubator/http/HttpConnection$Mode;
1: aload 1
getstatic jdk.incubator.http.HttpConnection$Mode.BLOCKING:Ljdk/incubator/http/HttpConnection$Mode;
if_acmpne 4
2: aload 0
invokevirtual jdk.incubator.http.HttpConnection.channel:()Ljava/nio/channels/SocketChannel;
iconst_1
invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
pop
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.http.HttpConnection.channel:()Ljava/nio/channels/SocketChannel;
iconst_0
invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
pop
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/HttpConnection;
0 6 1 mode Ljdk/incubator/http/HttpConnection$Mode;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mode
synchronized jdk.incubator.http.HttpConnection$Mode getMode();
descriptor: ()Ljdk/incubator/http/HttpConnection$Mode;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpConnection.mode:Ljdk/incubator/http/HttpConnection$Mode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpConnection;
abstract jdk.incubator.http.ConnectionPool$CacheKey cacheKey();
descriptor: ()Ljdk/incubator/http/ConnectionPool$CacheKey;
flags: (0x0400) ACC_ABSTRACT
javax.net.ssl.SSLParameters sslParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpConnection;
abstract long write(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffers
start
number
abstract long write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)J
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
abstract void writeAsync(jdk.incubator.http.internal.common.ByteBufferReference[]);
descriptor: ([Ljdk/incubator/http/internal/common/ByteBufferReference;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffers
abstract void writeAsyncUnordered(jdk.incubator.http.internal.common.ByteBufferReference[]);
descriptor: ([Ljdk/incubator/http/internal/common/ByteBufferReference;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffers
abstract void flushAsync();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
abstract void shutdownInput();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
abstract void shutdownOutput();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
static void resumeChannelRead(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 2
start local 2 1: aload 0
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
2: aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 2
isub
istore 3
start local 3 3: iload 1
ifle 6
iload 1
iload 3
if_icmpge 6
4: aload 0
iload 2
iload 1
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
5: goto 7
6: StackMap locals: int int
StackMap stack:
aload 0
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buf Ljava/nio/ByteBuffer;
0 8 1 required I
1 8 2 limit I
3 8 3 capacity I
MethodParameters:
Name Flags
buf
required
final java.nio.ByteBuffer read();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.HttpConnection.readImpl:()Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpConnection;
1 2 1 b Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
protected abstract java.nio.ByteBuffer readImpl();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "HttpConnection: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.incubator.http.HttpConnection.channel:()Ljava/nio/channels/SocketChannel;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpConnection;
private static java.lang.Boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "close"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/String;
}
SourceFile: "HttpConnection.java"
NestMembers:
jdk.incubator.http.HttpConnection$Mode
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
CacheKey = jdk.incubator.http.ConnectionPool$CacheKey of jdk.incubator.http.ConnectionPool
final Mode = jdk.incubator.http.HttpConnection$Mode of jdk.incubator.http.HttpConnection