class sun.rmi.transport.proxy.HttpInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.rmi.transport.proxy.HttpInputStream
super_class: java.io.FilterInputStream
{
protected int bytesLeft;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int bytesLeftAtMark;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 1
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 3
2: aload 1
iconst_0
invokevirtual java.io.InputStream.mark:(I)V
3: StackMap locals: sun.rmi.transport.proxy.HttpInputStream java.io.InputStream
StackMap stack:
new java.io.DataInputStream
dup
aload 1
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 4: ldc "Content-length:"
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: StackMap locals: java.io.DataInputStream java.lang.String int
StackMap stack:
aload 2
invokevirtual java.io.DataInputStream.readLine:()Ljava/lang/String;
astore 5
start local 5 7: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 11
8: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
9: new java.lang.StringBuilder
dup
ldc "received header line: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
11: StackMap locals: java.lang.String
StackMap stack:
aload 5
ifnonnull 13
12: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
14: iload 4
ifeq 18
15: new java.io.IOException
dup
16: ldc "Multiple Content-length entries found."
17: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
19: aload 5
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
20: putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
21: iconst_1
istore 4
22: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.String.length:()I
ifeq 24
23: aload 5
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 13
if_icmpeq 24
aload 5
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 10
if_icmpne 6
24: StackMap locals:
StackMap stack:
iload 4
ifeq 25
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
ifge 26
25: StackMap locals:
StackMap stack:
aload 0
ldc 2147483647
putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
26: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeftAtMark:I
27: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 31
28: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
29: new java.lang.StringBuilder
dup
ldc "content length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
30: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
31: StackMap locals:
StackMap stack:
return
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 32 0 this Lsun/rmi/transport/proxy/HttpInputStream;
0 32 1 in Ljava/io/InputStream;
4 32 2 dis Ljava/io/DataInputStream;
5 32 3 key Ljava/lang/String;
6 32 4 contentLengthFound Z
7 32 5 line Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
istore 1
start local 1 1: iload 1
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
if_icmple 3
2: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/transport/proxy/HttpInputStream;
1 4 1 bytesAvailable I
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
ifle 14
1: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 2: iload 1
iconst_m1
if_icmpeq 4
3: aload 0
dup
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
iconst_1
isub
putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
4: StackMap locals: int
StackMap stack:
getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 13
5: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
6: new java.lang.StringBuilder
dup
ldc "received byte: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: iload 1
bipush 127
iand
bipush 32
if_icmpge 8
ldc " "
goto 9
StackMap locals: sun.rmi.transport.proxy.HttpInputStream int
StackMap stack: sun.rmi.runtime.Log java.util.logging.Level java.lang.StringBuilder
8: iload 1
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
StackMap locals: sun.rmi.transport.proxy.HttpInputStream int
StackMap stack: sun.rmi.runtime.Log java.util.logging.Level java.lang.StringBuilder java.lang.String
9: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc "' "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 14: StackMap locals:
StackMap stack:
getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
15: ldc "read past content length"
16: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
17: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/rmi/transport/proxy/HttpInputStream;
2 14 1 data I
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
ifne 5
iload 3
ifle 5
1: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
2: ldc "read past content length"
3: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
if_icmple 7
6: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
istore 3
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 8: aload 0
dup
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
iload 4
isub
putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
9: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 13
10: getstatic sun.rmi.transport.proxy.RMIMasterSocketFactory.proxyLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
11: new java.lang.StringBuilder
dup
ldc "read "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " remaining"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
13: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/rmi/transport/proxy/HttpInputStream;
0 14 1 b [B
0 14 2 off I
0 14 3 len I
8 14 4 bytesRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.in:Ljava/io/InputStream;
iload 1
invokevirtual java.io.InputStream.mark:(I)V
1: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 3
2: aload 0
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeftAtMark:I
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/transport/proxy/HttpInputStream;
0 4 1 readlimit I
MethodParameters:
Name Flags
readlimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: aload 0
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeftAtMark:I
putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/rmi/transport/proxy/HttpInputStream;
Exceptions:
throws java.io.IOException
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
i2l
lcmp
ifle 2
1: aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
i2l
lstore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.transport.proxy.HttpInputStream.in:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
lstore 3
start local 3 3: aload 0
dup
getfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
i2l
lload 3
lsub
l2i
putfield sun.rmi.transport.proxy.HttpInputStream.bytesLeft:I
4: lload 3
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/transport/proxy/HttpInputStream;
0 5 1 n J
3 5 3 bytesSkipped J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
}
SourceFile: "HttpInputStream.java"