class sun.net.httpserver.UndefLengthOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.httpserver.UndefLengthOutputStream
super_class: java.io.FilterOutputStream
{
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
sun.net.httpserver.ExchangeImpl t;
descriptor: Lsun/net/httpserver/ExchangeImpl;
flags: (0x0000)
void <init>(sun.net.httpserver.ExchangeImpl, java.io.OutputStream);
descriptor: (Lsun/net/httpserver/ExchangeImpl;Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
iconst_0
putfield sun.net.httpserver.UndefLengthOutputStream.closed:Z
2: aload 0
aload 1
putfield sun.net.httpserver.UndefLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/httpserver/UndefLengthOutputStream;
0 4 1 t Lsun/net/httpserver/ExchangeImpl;
0 4 2 src Ljava/io/OutputStream;
MethodParameters:
Name Flags
t
src
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "stream closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/httpserver/UndefLengthOutputStream;
0 4 1 b I
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "stream closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/httpserver/UndefLengthOutputStream;
0 4 1 b [B
0 4 2 off I
0 4 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.httpserver.UndefLengthOutputStream.closed:Z
3: aload 0
invokevirtual sun.net.httpserver.UndefLengthOutputStream.flush:()V
4: aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
invokevirtual sun.net.httpserver.ExchangeImpl.getOriginalInputStream:()Lsun/net/httpserver/LeftOverInputStream;
astore 1
start local 1 5: aload 1
invokevirtual sun.net.httpserver.LeftOverInputStream.isClosed:()Z
ifne 9
6: aload 1
invokevirtual sun.net.httpserver.LeftOverInputStream.close:()V
7: goto 9
StackMap locals: sun.net.httpserver.UndefLengthOutputStream sun.net.httpserver.LeftOverInputStream
StackMap stack: java.io.IOException
8: pop
9: StackMap locals:
StackMap stack:
new sun.net.httpserver.WriteFinishedEvent
dup
aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
invokespecial sun.net.httpserver.WriteFinishedEvent.<init>:(Lsun/net/httpserver/ExchangeImpl;)V
astore 2
start local 2 10: aload 0
getfield sun.net.httpserver.UndefLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
invokevirtual sun.net.httpserver.ExchangeImpl.getHttpContext:()Lsun/net/httpserver/HttpContextImpl;
invokevirtual sun.net.httpserver.HttpContextImpl.getServerImpl:()Lsun/net/httpserver/ServerImpl;
aload 2
invokevirtual sun.net.httpserver.ServerImpl.addEvent:(Lsun/net/httpserver/Event;)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/net/httpserver/UndefLengthOutputStream;
5 12 1 is Lsun/net/httpserver/LeftOverInputStream;
10 12 2 e Lsun/net/httpserver/WriteFinishedEvent;
Exception table:
from to target type
6 7 8 Class java.io.IOException
Exceptions:
throws java.io.IOException
}
SourceFile: "UndefLengthOutputStream.java"