class sun.net.httpserver.FixedLengthInputStream extends sun.net.httpserver.LeftOverInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.httpserver.FixedLengthInputStream
super_class: sun.net.httpserver.LeftOverInputStream
{
private long remaining;
descriptor: J
flags: (0x0002) ACC_PRIVATE
void <init>(sun.net.httpserver.ExchangeImpl, java.io.InputStream, long);
descriptor: (Lsun/net/httpserver/ExchangeImpl;Ljava/io/InputStream;J)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial sun.net.httpserver.LeftOverInputStream.<init>:(Lsun/net/httpserver/ExchangeImpl;Ljava/io/InputStream;)V
1: aload 0
lload 3
putfield sun.net.httpserver.FixedLengthInputStream.remaining:J
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/httpserver/FixedLengthInputStream;
0 3 1 t Lsun/net/httpserver/ExchangeImpl;
0 3 2 src Ljava/io/InputStream;
0 3 3 len J
MethodParameters:
Name Flags
t
src
len
protected int readImpl(byte[], int, int);
descriptor: ([BII)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield sun.net.httpserver.FixedLengthInputStream.remaining:J
lconst_0
lcmp
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: sun.net.httpserver.FixedLengthInputStream
1: iconst_0
StackMap locals: sun.net.httpserver.FixedLengthInputStream byte[] int int
StackMap stack: sun.net.httpserver.FixedLengthInputStream int
2: putfield sun.net.httpserver.FixedLengthInputStream.eof:Z
3: aload 0
getfield sun.net.httpserver.FixedLengthInputStream.eof:Z
ifeq 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
iload 3
i2l
aload 0
getfield sun.net.httpserver.FixedLengthInputStream.remaining:J
lcmp
ifle 7
6: aload 0
getfield sun.net.httpserver.FixedLengthInputStream.remaining:J
l2i
istore 3
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.FixedLengthInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 8: iload 4
iconst_m1
if_icmple 12
9: aload 0
dup
getfield sun.net.httpserver.FixedLengthInputStream.remaining:J
iload 4
i2l
lsub
putfield sun.net.httpserver.FixedLengthInputStream.remaining:J
10: aload 0
getfield sun.net.httpserver.FixedLengthInputStream.remaining:J
lconst_0
lcmp
ifne 12
11: aload 0
getfield sun.net.httpserver.FixedLengthInputStream.t:Lsun/net/httpserver/ExchangeImpl;
invokevirtual sun.net.httpserver.ExchangeImpl.getServerImpl:()Lsun/net/httpserver/ServerImpl;
aload 0
getfield sun.net.httpserver.FixedLengthInputStream.t:Lsun/net/httpserver/ExchangeImpl;
invokevirtual sun.net.httpserver.ExchangeImpl.getConnection:()Lsun/net/httpserver/HttpConnection;
invokevirtual sun.net.httpserver.ServerImpl.requestCompleted:(Lsun/net/httpserver/HttpConnection;)V
12: StackMap locals: int
StackMap stack:
iload 4
ifge 14
aload 0
getfield sun.net.httpserver.FixedLengthInputStream.eof:Z
ifne 14
13: new java.io.IOException
dup
ldc "connection closed before all data received"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
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 15 0 this Lsun/net/httpserver/FixedLengthInputStream;
0 15 1 b [B
0 15 2 off I
0 15 3 len I
8 15 4 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.FixedLengthInputStream.eof:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.FixedLengthInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
istore 1
start local 1 3: iload 1
i2l
aload 0
getfield sun.net.httpserver.FixedLengthInputStream.remaining:J
lcmp
ifge 4
iload 1
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
getfield sun.net.httpserver.FixedLengthInputStream.remaining:J
l2i
StackMap locals:
StackMap stack: int
5: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/httpserver/FixedLengthInputStream;
3 6 1 n I
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/FixedLengthInputStream;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/FixedLengthInputStream;
0 1 1 l I
MethodParameters:
Name Flags
l
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
ldc "mark/reset not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/FixedLengthInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "FixedLengthInputStream.java"