class sun.net.httpserver.SSLStreams$OutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.httpserver.SSLStreams$OutputStream
super_class: java.io.OutputStream
{
java.nio.ByteBuffer buf;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
boolean closed;
descriptor: Z
flags: (0x0000)
byte[] single;
descriptor: [B
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$OutputStream.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.net.httpserver.SSLStreams);
descriptor: (Lsun/net/httpserver/SSLStreams;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.net.httpserver.SSLStreams$OutputStream.this$0:Lsun/net/httpserver/SSLStreams;
aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
iconst_0
putfield sun.net.httpserver.SSLStreams$OutputStream.closed:Z
2: aload 0
iconst_1
newarray 8
putfield sun.net.httpserver.SSLStreams$OutputStream.single:[B
3: aload 0
aload 1
getstatic sun.net.httpserver.SSLStreams$BufType.APPLICATION:Lsun/net/httpserver/SSLStreams$BufType;
invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
putfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/httpserver/SSLStreams$OutputStream;
MethodParameters:
Name Flags
this$0 final
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.single:[B
iconst_0
iload 1
i2b
bastore
1: aload 0
aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.single:[B
iconst_0
iconst_1
invokevirtual sun.net.httpserver.SSLStreams$OutputStream.write:([BII)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/httpserver/SSLStreams$OutputStream;
0 3 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.net.httpserver.SSLStreams$OutputStream.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/httpserver/SSLStreams$OutputStream;
0 2 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.closed:Z
ifeq 15
1: new java.io.IOException
dup
ldc "output stream is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmple 3
aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
goto 4
StackMap locals:
StackMap stack:
3: iload 3
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
6: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 4
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
7: iload 3
iload 4
isub
istore 3
8: iload 2
iload 4
iadd
istore 2
9: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
10: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.this$0:Lsun/net/httpserver/SSLStreams;
aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
invokevirtual sun.net.httpserver.SSLStreams.sendData:(Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
astore 5
start local 5 11: aload 5
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 15
12: aload 0
iconst_1
putfield sun.net.httpserver.SSLStreams$OutputStream.closed:Z
13: iload 3
ifle 15
14: new java.io.IOException
dup
ldc "output stream is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 15: StackMap locals:
StackMap stack:
iload 3
ifgt 2
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/net/httpserver/SSLStreams$OutputStream;
0 17 1 b [B
0 17 2 off I
0 17 3 len I
5 15 4 l I
11 15 5 r Lsun/net/httpserver/SSLStreams$WrapperResult;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/SSLStreams$OutputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.this$0:Lsun/net/httpserver/SSLStreams;
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
invokevirtual javax.net.ssl.SSLEngine.closeOutbound:()V
2: aload 0
iconst_1
putfield sun.net.httpserver.SSLStreams$OutputStream.closed:Z
3: getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_WRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
astore 2
start local 2 4: aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
5: goto 8
6: StackMap locals: sun.net.httpserver.SSLStreams$WrapperResult javax.net.ssl.SSLEngineResult$HandshakeStatus
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.this$0:Lsun/net/httpserver/SSLStreams;
getfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
aload 0
getfield sun.net.httpserver.SSLStreams$OutputStream.buf:Ljava/nio/ByteBuffer;
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.wrapAndSend:(Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
astore 1
7: aload 1
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
astore 2
8: StackMap locals:
StackMap stack:
aload 2
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_WRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpeq 6
9: getstatic sun.net.httpserver.SSLStreams$OutputStream.$assertionsDisabled:Z
ifne 10
aload 1
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/net/httpserver/SSLStreams$OutputStream;
1 11 1 r Lsun/net/httpserver/SSLStreams$WrapperResult;
4 11 2 stat Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
Exceptions:
throws java.io.IOException
}
SourceFile: "SSLStreams.java"
NestHost: sun.net.httpserver.SSLStreams
InnerClasses:
public final HandshakeStatus = javax.net.ssl.SSLEngineResult$HandshakeStatus of javax.net.ssl.SSLEngineResult
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
OutputStream = sun.net.httpserver.SSLStreams$OutputStream of sun.net.httpserver.SSLStreams
WrapperResult = sun.net.httpserver.SSLStreams$WrapperResult of sun.net.httpserver.SSLStreams