final class org.xnio.ssl.JsseSslStreamSourceConduit extends org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.ssl.JsseSslStreamSourceConduit
super_class: org.xnio.conduits.AbstractStreamSourceConduit
{
private final org.xnio.ssl.JsseSslConduitEngine sslEngine;
descriptor: Lorg/xnio/ssl/JsseSslConduitEngine;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean tls;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
protected void <init>(org.xnio.conduits.StreamSourceConduit, org.xnio.ssl.JsseSslConduitEngine, boolean);
descriptor: (Lorg/xnio/conduits/StreamSourceConduit;Lorg/xnio/ssl/JsseSslConduitEngine;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.<init>:(Lorg/xnio/conduits/StreamSourceConduit;)V
1: aload 2
ifnonnull 3
2: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
ldc "sslEngine"
invokeinterface org.xnio._private.Messages.nullParameter:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit org.xnio.conduits.StreamSourceConduit org.xnio.ssl.JsseSslConduitEngine int
StackMap stack:
aload 0
aload 2
putfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
4: aload 0
iload 3
putfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
0 6 1 next Lorg/xnio/conduits/StreamSourceConduit;
0 6 2 sslEngine Lorg/xnio/ssl/JsseSslConduitEngine;
0 6 3 tls Z
MethodParameters:
Name Flags
next
sslEngine
tls
void enableTls();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
1: aload 0
invokevirtual org.xnio.ssl.JsseSslStreamSourceConduit.isReadResumed:()Z
ifeq 3
2: aload 0
invokevirtual org.xnio.ssl.JsseSslStreamSourceConduit.wakeupReads:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
public long transferTo(long, long, java.nio.channels.FileChannel);
descriptor: (JJLjava/nio/channels/FileChannel;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 5
new org.xnio.conduits.ConduitReadableByteChannel
dup
aload 0
invokespecial org.xnio.conduits.ConduitReadableByteChannel.<init>:(Lorg/xnio/conduits/StreamSourceConduit;)V
lload 1
lload 3
invokevirtual java.nio.channels.FileChannel.transferFrom:(Ljava/nio/channels/ReadableByteChannel;JJ)J
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
0 1 1 position J
0 1 3 count J
0 1 5 target Ljava/nio/channels/FileChannel;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position final
count final
target final
public long transferTo(long, java.nio.ByteBuffer, org.xnio.channels.StreamSinkChannel);
descriptor: (JLjava/nio/ByteBuffer;Lorg/xnio/channels/StreamSinkChannel;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
lload 1
aload 3
aload 4
invokestatic org.xnio.conduits.Conduits.transfer:(Lorg/xnio/conduits/StreamSourceConduit;JLjava/nio/ByteBuffer;Ljava/nio/channels/WritableByteChannel;)J
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
0 1 1 count J
0 1 3 throughBuffer Ljava/nio/ByteBuffer;
0 1 4 target Lorg/xnio/channels/StreamSinkChannel;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
count final
throughBuffer final
target final
public int read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
ifne 5
1: aload 0
aload 1
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpne 4
3: aload 0
invokevirtual org.xnio.ssl.JsseSslStreamSourceConduit.terminateReads:()V
4: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isDataAvailable:()Z
ifne 6
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isInboundClosed:()Z
ifne 7
StackMap locals:
StackMap stack:
6: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isClosed:()Z
ifeq 8
7: StackMap locals:
StackMap stack:
iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.getUnwrapLock:()Ljava/lang/Object;
dup
astore 4
monitorenter
9: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.getUnwrapBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
astore 5
start local 5 10: aload 0
aload 5
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 11: goto 15
end local 2 StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer top top java.lang.Object java.nio.ByteBuffer
StackMap stack: java.lang.Throwable
12: astore 6
13: aload 5
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
14: aload 6
athrow
start local 2 15: StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer int top java.lang.Object java.nio.ByteBuffer
StackMap stack:
aload 5
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
end local 5 16: aload 4
monitorexit
17: goto 20
end local 2 StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer top top java.lang.Object
StackMap stack: java.lang.Throwable
18: aload 4
monitorexit
19: athrow
start local 2 20: StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer int
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
aload 1
invokevirtual org.xnio.ssl.JsseSslConduitEngine.unwrap:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 21: iload 3
ifne 24
iload 2
iconst_m1
if_icmpne 24
22: aload 0
invokevirtual org.xnio.ssl.JsseSslStreamSourceConduit.terminateReads:()V
23: iconst_m1
ireturn
24: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
0 25 1 dst Ljava/nio/ByteBuffer;
2 5 2 res I
11 12 2 readResult I
15 18 2 readResult I
20 25 2 readResult I
21 25 3 unwrapResult I
10 16 5 unwrapBuffer Ljava/nio/ByteBuffer;
Exception table:
from to target type
10 12 12 any
9 17 18 any
18 19 18 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
public long read(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
ifne 5
1: aload 0
aload 1
iload 2
iload 3
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.read:([Ljava/nio/ByteBuffer;II)J
lstore 4
start local 4 2: lload 4
ldc -1
lcmp
ifne 4
3: aload 0
invokevirtual org.xnio.ssl.JsseSslStreamSourceConduit.terminateReads:()V
4: StackMap locals: long
StackMap stack:
lload 4
lreturn
end local 4 5: StackMap locals:
StackMap stack:
iload 2
iflt 6
iload 2
iload 3
if_icmpgt 6
iload 3
iflt 6
iload 2
iload 3
iadd
aload 1
arraylength
if_icmple 7
6: StackMap locals:
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isDataAvailable:()Z
ifne 8
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isInboundClosed:()Z
ifne 9
StackMap locals:
StackMap stack:
8: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isClosed:()Z
ifeq 10
9: StackMap locals:
StackMap stack:
ldc -1
lreturn
10: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.getUnwrapLock:()Ljava/lang/Object;
dup
astore 7
monitorenter
11: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.getUnwrapBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
astore 8
start local 8 12: aload 0
aload 8
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 13: goto 17
end local 4 StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer[] int int top top top java.lang.Object java.nio.ByteBuffer
StackMap stack: java.lang.Throwable
14: astore 9
15: aload 8
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
16: aload 9
athrow
start local 4 17: StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer[] int int int top top java.lang.Object java.nio.ByteBuffer
StackMap stack:
aload 8
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
end local 8 18: aload 7
monitorexit
19: goto 22
end local 4 StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer[] int int top top top java.lang.Object
StackMap stack: java.lang.Throwable
20: aload 7
monitorexit
21: athrow
start local 4 22: StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.nio.ByteBuffer[] int int int
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
aload 1
iload 2
iload 3
invokevirtual org.xnio.ssl.JsseSslConduitEngine.unwrap:([Ljava/nio/ByteBuffer;II)J
lstore 5
start local 5 23: lload 5
lconst_0
lcmp
ifne 26
iload 4
iconst_m1
if_icmpne 26
24: aload 0
invokevirtual org.xnio.ssl.JsseSslStreamSourceConduit.terminateReads:()V
25: ldc -1
lreturn
26: StackMap locals: long
StackMap stack:
lload 5
lreturn
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 27 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
0 27 1 dsts [Ljava/nio/ByteBuffer;
0 27 2 offs I
0 27 3 len I
2 5 4 res J
13 14 4 readResult I
17 20 4 readResult I
22 27 4 readResult I
23 27 5 unwrapResult J
12 18 8 unwrapBuffer Ljava/nio/ByteBuffer;
Exception table:
from to target type
12 14 14 any
11 19 20 any
20 21 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dsts
offs
len
public void resumeReads();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
ifeq 3
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isFirstHandshake:()Z
ifeq 3
1: aload 0
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.wakeupReads:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.resumeReads:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
public void terminateReads();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
ifeq 10
1: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.closeInbound:()V
2: goto 10
StackMap locals:
StackMap stack: java.io.IOException
3: astore 1
start local 1 4: aload 0
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.terminateReads:()V
5: goto 9
StackMap locals: org.xnio.ssl.JsseSslStreamSourceConduit java.io.IOException
StackMap stack: java.io.IOException
6: astore 2
start local 2 7: aload 2
aload 1
invokevirtual java.io.IOException.addSuppressed:(Ljava/lang/Throwable;)V
8: aload 2
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 1
athrow
end local 1 10: StackMap locals:
StackMap stack:
aload 0
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.terminateReads:()V
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
4 10 1 ex Ljava/io/IOException;
7 9 2 e2 Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
4 5 6 Class java.io.IOException
Exceptions:
throws java.io.IOException
public void awaitReadable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
ifeq 2
1: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.awaitCanUnwrap:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.isDataAvailable:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.awaitReadable:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
Exceptions:
throws java.io.IOException
public void awaitReadable(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.tls:Z
ifne 3
1: aload 0
lload 1
aload 3
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.getUnwrapLock:()Ljava/lang/Object;
dup
astore 4
monitorenter
4: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
invokevirtual org.xnio.ssl.JsseSslConduitEngine.getUnwrapBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 7
5: aload 4
monitorexit
6: return
7: StackMap locals: java.lang.Object
StackMap stack:
aload 4
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 4
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 4
start local 4 12: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 13: aload 0
getfield org.xnio.ssl.JsseSslStreamSourceConduit.sslEngine:Lorg/xnio/ssl/JsseSslConduitEngine;
lload 1
aload 3
invokevirtual org.xnio.ssl.JsseSslConduitEngine.awaitCanUnwrap:(JLjava/util/concurrent/TimeUnit;)V
14: invokestatic java.lang.System.nanoTime:()J
lload 6
lsub
lstore 6
15: lload 6
lload 4
lcmp
ifle 17
16: return
17: StackMap locals: long long
StackMap stack:
aload 0
lload 4
lload 6
lsub
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
18: return
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/xnio/ssl/JsseSslStreamSourceConduit;
0 19 1 time J
0 19 3 timeUnit Ljava/util/concurrent/TimeUnit;
12 19 4 duration J
13 19 6 awaited J
Exception table:
from to target type
4 6 9 any
7 8 9 any
9 10 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
time
timeUnit
}
Signature: Lorg/xnio/conduits/AbstractStreamSourceConduit<Lorg/xnio/conduits/StreamSourceConduit;>;
SourceFile: "JsseSslStreamSourceConduit.java"