class sun.rmi.transport.proxy.HttpOutputStream extends java.io.ByteArrayOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.rmi.transport.proxy.HttpOutputStream
super_class: java.io.ByteArrayOutputStream
{
protected java.io.OutputStream out;
descriptor: Ljava/io/OutputStream;
flags: (0x0004) ACC_PROTECTED
boolean responseSent;
descriptor: Z
flags: (0x0000)
private static byte[] emptyData;
descriptor: [B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
newarray 8
putstatic sun.rmi.transport.proxy.HttpOutputStream.emptyData:[B
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.ByteArrayOutputStream.<init>:()V
1: aload 0
iconst_0
putfield sun.rmi.transport.proxy.HttpOutputStream.responseSent:Z
2: aload 0
aload 1
putfield sun.rmi.transport.proxy.HttpOutputStream.out:Ljava/io/OutputStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/transport/proxy/HttpOutputStream;
0 4 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.proxy.HttpOutputStream.responseSent:Z
ifne 11
1: aload 0
invokevirtual sun.rmi.transport.proxy.HttpOutputStream.size:()I
ifne 3
2: aload 0
getstatic sun.rmi.transport.proxy.HttpOutputStream.emptyData:[B
invokevirtual sun.rmi.transport.proxy.HttpOutputStream.write:([B)V
3: StackMap locals:
StackMap stack:
new java.io.DataOutputStream
dup
aload 0
getfield sun.rmi.transport.proxy.HttpOutputStream.out:Ljava/io/OutputStream;
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 1
start local 1 4: aload 1
ldc "Content-type: application/octet-stream\r\n"
invokevirtual java.io.DataOutputStream.writeBytes:(Ljava/lang/String;)V
5: aload 1
new java.lang.StringBuilder
dup
ldc "Content-length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.rmi.transport.proxy.HttpOutputStream.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.DataOutputStream.writeBytes:(Ljava/lang/String;)V
6: aload 1
ldc "\r\n"
invokevirtual java.io.DataOutputStream.writeBytes:(Ljava/lang/String;)V
7: aload 0
aload 1
invokevirtual sun.rmi.transport.proxy.HttpOutputStream.writeTo:(Ljava/io/OutputStream;)V
8: aload 1
invokevirtual java.io.DataOutputStream.flush:()V
9: aload 0
invokevirtual sun.rmi.transport.proxy.HttpOutputStream.reset:()V
10: aload 0
iconst_1
putfield sun.rmi.transport.proxy.HttpOutputStream.responseSent:Z
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/rmi/transport/proxy/HttpOutputStream;
4 11 1 dos Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "HttpOutputStream.java"