class sun.net.httpserver.SSLStreams$EngineWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.httpserver.SSLStreams$EngineWrapper
super_class: java.lang.Object
{
java.nio.channels.SocketChannel chan;
descriptor: Ljava/nio/channels/SocketChannel;
flags: (0x0000)
javax.net.ssl.SSLEngine engine;
descriptor: Ljavax/net/ssl/SSLEngine;
flags: (0x0000)
sun.net.httpserver.SelectorCache sc;
descriptor: Lsun/net/httpserver/SelectorCache;
flags: (0x0000)
java.nio.channels.Selector write_selector;
descriptor: Ljava/nio/channels/Selector;
flags: (0x0000)
java.nio.channels.Selector read_selector;
descriptor: Ljava/nio/channels/Selector;
flags: (0x0000)
java.nio.channels.SelectionKey wkey;
descriptor: Ljava/nio/channels/SelectionKey;
flags: (0x0000)
java.nio.channels.SelectionKey rkey;
descriptor: Ljava/nio/channels/SelectionKey;
flags: (0x0000)
java.lang.Object wrapLock;
descriptor: Ljava/lang/Object;
flags: (0x0000)
java.lang.Object unwrapLock;
descriptor: Ljava/lang/Object;
flags: (0x0000)
java.nio.ByteBuffer unwrap_src;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
java.nio.ByteBuffer wrap_dst;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
boolean closed;
descriptor: Z
flags: (0x0000)
int u_remaining;
descriptor: I
flags: (0x0000)
final sun.net.httpserver.SSLStreams this$0;
descriptor: Lsun/net/httpserver/SSLStreams;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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 Lsun/net/httpserver/SSLStreams;
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 sun.net.httpserver.SSLStreams$EngineWrapper.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.net.httpserver.SSLStreams, java.nio.channels.SocketChannel, javax.net.ssl.SSLEngine);
descriptor: (Lsun/net/httpserver/SSLStreams;Ljava/nio/channels/SocketChannel;Ljavax/net/ssl/SSLEngine;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
2: aload 0
aload 2
putfield sun.net.httpserver.SSLStreams$EngineWrapper.chan:Ljava/nio/channels/SocketChannel;
3: aload 0
aload 3
putfield sun.net.httpserver.SSLStreams$EngineWrapper.engine:Ljavax/net/ssl/SSLEngine;
4: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.net.httpserver.SSLStreams$EngineWrapper.wrapLock:Ljava/lang/Object;
5: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrapLock:Ljava/lang/Object;
6: aload 0
aload 1
getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
7: aload 0
aload 1
getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
8: aload 0
invokestatic sun.net.httpserver.SelectorCache.getSelectorCache:()Lsun/net/httpserver/SelectorCache;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
9: aload 0
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
invokevirtual sun.net.httpserver.SelectorCache.getSelector:()Ljava/nio/channels/Selector;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
10: aload 0
aload 2
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
iconst_4
invokevirtual java.nio.channels.SocketChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.wkey:Ljava/nio/channels/SelectionKey;
11: aload 0
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
invokevirtual sun.net.httpserver.SelectorCache.getSelector:()Ljava/nio/channels/Selector;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
12: aload 0
aload 2
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
iconst_1
invokevirtual java.nio.channels.SocketChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.wkey:Ljava/nio/channels/SelectionKey;
13: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/net/httpserver/SSLStreams$EngineWrapper;
0 14 2 chan Ljava/nio/channels/SocketChannel;
0 14 3 engine Ljavax/net/ssl/SSLEngine;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
this$0 final
chan
engine
void close();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
invokevirtual sun.net.httpserver.SelectorCache.freeSelector:(Ljava/nio/channels/Selector;)V
1: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.sc:Lsun/net/httpserver/SelectorCache;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
invokevirtual sun.net.httpserver.SelectorCache.freeSelector:(Ljava/nio/channels/Selector;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/httpserver/SSLStreams$EngineWrapper;
Exceptions:
throws java.io.IOException
sun.net.httpserver.SSLStreams$WrapperResult wrapAndSend(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.wrapAndSendX:(Ljava/nio/ByteBuffer;Z)Lsun/net/httpserver/SSLStreams$WrapperResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/SSLStreams$EngineWrapper;
0 1 1 src Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
sun.net.httpserver.SSLStreams$WrapperResult wrapAndSendX(java.nio.ByteBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Z)Lsun/net/httpserver/SSLStreams$WrapperResult;
flags: (0x0000)
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
ifeq 2
iload 2
ifne 2
1: new java.io.IOException
dup
ldc "Engine is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new sun.net.httpserver.SSLStreams$WrapperResult
dup
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
invokespecial sun.net.httpserver.SSLStreams$WrapperResult.<init>:(Lsun/net/httpserver/SSLStreams;)V
astore 4
start local 4 3: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrapLock:Ljava/lang/Object;
dup
astore 5
monitorenter
4: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
5: StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int top sun.net.httpserver.SSLStreams$WrapperResult java.lang.Object
StackMap stack:
aload 4
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.engine:Ljavax/net/ssl/SSLEngine;
aload 1
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
invokevirtual javax.net.ssl.SSLEngine.wrap:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;
putfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
6: aload 4
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
astore 3
start local 3 7: aload 3
getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 9
8: aload 0
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
iconst_1
getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
invokevirtual sun.net.httpserver.SSLStreams.realloc:(Ljava/nio/ByteBuffer;ZLsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
9: StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult java.lang.Object
StackMap stack:
aload 3
getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpeq 5
10: aload 3
getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 14
iload 2
ifne 14
11: aload 0
iconst_1
putfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
12: aload 4
aload 5
monitorexit
13: areturn
14: StackMap locals:
StackMap stack:
aload 4
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.bytesProduced:()I
ifle 28
15: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
16: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 6
start local 6 17: getstatic sun.net.httpserver.SSLStreams$EngineWrapper.$assertionsDisabled:Z
ifne 18
iload 6
aload 4
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.bytesProduced:()I
if_icmpeq 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals: int
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
invokeinterface sun.net.httpserver.TimeSource.getTime:()J
lstore 7
start local 7 19: lload 7
getstatic sun.net.httpserver.SSLStreams.writeTimeout:J
ladd
lstore 9
start local 9 20: goto 27
21: StackMap locals: long long
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
getstatic sun.net.httpserver.SSLStreams.writeTimeout:J
invokevirtual java.nio.channels.Selector.select:(J)I
pop
22: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
invokeinterface sun.net.httpserver.TimeSource.getTime:()J
lstore 7
23: lload 7
lload 9
lcmp
ifle 25
24: new java.net.SocketTimeoutException
dup
ldc "write timed out"
invokespecial java.net.SocketTimeoutException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.write_selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
26: iload 6
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.chan:Ljava/nio/channels/SocketChannel;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.wrap_dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.channels.SocketChannel.write:(Ljava/nio/ByteBuffer;)I
isub
istore 6
27: StackMap locals:
StackMap stack:
iload 6
ifgt 21
end local 9 end local 7 end local 6 28: StackMap locals:
StackMap stack:
aload 5
monitorexit
29: goto 32
end local 3 StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int top sun.net.httpserver.SSLStreams$WrapperResult java.lang.Object
StackMap stack: java.lang.Throwable
30: aload 5
monitorexit
31: athrow
start local 3 32: StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer int javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/net/httpserver/SSLStreams$EngineWrapper;
0 33 1 src Ljava/nio/ByteBuffer;
0 33 2 ignoreClose Z
7 30 3 status Ljavax/net/ssl/SSLEngineResult$Status;
32 33 3 status Ljavax/net/ssl/SSLEngineResult$Status;
3 33 4 r Lsun/net/httpserver/SSLStreams$WrapperResult;
17 28 6 l I
19 28 7 currtime J
20 28 9 maxtime J
Exception table:
from to target type
4 13 30 any
14 29 30 any
30 31 30 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
ignoreClose
sun.net.httpserver.SSLStreams$WrapperResult recvAndUnwrap(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
flags: (0x0000)
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: getstatic javax.net.ssl.SSLEngineResult$Status.OK:Ljavax/net/ssl/SSLEngineResult$Status;
astore 2
start local 2 1: new sun.net.httpserver.SSLStreams$WrapperResult
dup
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
invokespecial sun.net.httpserver.SSLStreams$WrapperResult.<init>:(Lsun/net/httpserver/SSLStreams;)V
astore 3
start local 3 2: aload 3
aload 1
putfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
3: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
ifeq 5
4: new java.io.IOException
dup
ldc "Engine is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.u_remaining:I
ifle 10
6: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
7: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
8: iconst_0
istore 4
start local 4 9: goto 12
end local 4 10: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
11: iconst_1
istore 4
start local 4 12: StackMap locals: int
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrapLock:Ljava/lang/Object;
dup
astore 5
monitorenter
13: StackMap locals: java.lang.Object
StackMap stack:
iload 4
ifeq 26
14: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
invokeinterface sun.net.httpserver.TimeSource.getTime:()J
lstore 8
start local 8 15: lload 8
getstatic sun.net.httpserver.SSLStreams.readTimeout:J
ladd
lstore 10
start local 10 16: StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult int java.lang.Object top top long long
StackMap stack:
lload 8
lload 10
lcmp
ifle 18
17: new java.net.SocketTimeoutException
dup
ldc "read timedout"
invokespecial java.net.SocketTimeoutException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
getstatic sun.net.httpserver.SSLStreams.readTimeout:J
invokevirtual java.nio.channels.Selector.select:(J)I
istore 7
start local 7 19: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
getfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
invokeinterface sun.net.httpserver.TimeSource.getTime:()J
lstore 8
20: iload 7
iconst_1
if_icmpne 16
21: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.read_selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
22: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.chan:Ljava/nio/channels/SocketChannel;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.channels.SocketChannel.read:(Ljava/nio/ByteBuffer;)I
istore 6
start local 6 23: iload 6
iconst_m1
if_icmpne 25
24: new java.io.IOException
dup
ldc "connection closed for reading"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult int java.lang.Object int int long long
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
end local 10 end local 8 end local 7 end local 6 26: StackMap locals: sun.net.httpserver.SSLStreams$EngineWrapper java.nio.ByteBuffer javax.net.ssl.SSLEngineResult$Status sun.net.httpserver.SSLStreams$WrapperResult int java.lang.Object
StackMap stack:
aload 3
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.engine:Ljavax/net/ssl/SSLEngine;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
aload 3
getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
invokevirtual javax.net.ssl.SSLEngine.unwrap:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;
putfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
27: aload 3
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
astore 2
28: aload 2
getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_UNDERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 38
29: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpne 34
30: aload 0
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
31: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
iconst_0
getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
32: invokevirtual sun.net.httpserver.SSLStreams.realloc:(Ljava/nio/ByteBuffer;ZLsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
putfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
33: goto 36
34: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
35: aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
36: StackMap locals:
StackMap stack:
iconst_1
istore 4
37: goto 47
StackMap locals:
StackMap stack:
38: aload 2
getstatic javax.net.ssl.SSLEngineResult$Status.BUFFER_OVERFLOW:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 42
39: aload 3
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.this$0:Lsun/net/httpserver/SSLStreams;
aload 3
getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
iconst_1
getstatic sun.net.httpserver.SSLStreams$BufType.APPLICATION:Lsun/net/httpserver/SSLStreams$BufType;
invokevirtual sun.net.httpserver.SSLStreams.realloc:(Ljava/nio/ByteBuffer;ZLsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
putfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
40: iconst_0
istore 4
41: goto 47
StackMap locals:
StackMap stack:
42: aload 2
getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 47
43: aload 0
iconst_1
putfield sun.net.httpserver.SSLStreams$EngineWrapper.closed:Z
44: aload 3
getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
45: aload 3
aload 5
monitorexit
46: areturn
47: StackMap locals:
StackMap stack:
aload 2
getstatic javax.net.ssl.SSLEngineResult$Status.OK:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 13
48: aload 5
monitorexit
49: goto 52
StackMap locals:
StackMap stack: java.lang.Throwable
50: aload 5
monitorexit
51: athrow
52: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.httpserver.SSLStreams$EngineWrapper.unwrap_src:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
putfield sun.net.httpserver.SSLStreams$EngineWrapper.u_remaining:I
53: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Lsun/net/httpserver/SSLStreams$EngineWrapper;
0 54 1 dst Ljava/nio/ByteBuffer;
1 54 2 status Ljavax/net/ssl/SSLEngineResult$Status;
2 54 3 r Lsun/net/httpserver/SSLStreams$WrapperResult;
9 10 4 needData Z
12 54 4 needData Z
23 26 6 x I
19 26 7 y I
15 26 8 currTime J
16 26 10 maxtime J
Exception table:
from to target type
13 46 50 any
47 49 50 any
50 51 50 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
}
SourceFile: "SSLStreams.java"
NestHost: sun.net.httpserver.SSLStreams
InnerClasses:
public final Status = javax.net.ssl.SSLEngineResult$Status of javax.net.ssl.SSLEngineResult
final BufType = sun.net.httpserver.SSLStreams$BufType of sun.net.httpserver.SSLStreams
EngineWrapper = sun.net.httpserver.SSLStreams$EngineWrapper of sun.net.httpserver.SSLStreams
WrapperResult = sun.net.httpserver.SSLStreams$WrapperResult of sun.net.httpserver.SSLStreams