abstract class sun.net.httpserver.LeftOverInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.net.httpserver.LeftOverInputStream
super_class: java.io.FilterInputStream
{
final sun.net.httpserver.ExchangeImpl t;
descriptor: Lsun/net/httpserver/ExchangeImpl;
flags: (0x0010) ACC_FINAL
final sun.net.httpserver.ServerImpl server;
descriptor: Lsun/net/httpserver/ServerImpl;
flags: (0x0010) ACC_FINAL
protected boolean closed;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean eof;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
byte[] one;
descriptor: [B
flags: (0x0000)
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/LeftOverInputStream;
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.LeftOverInputStream.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(sun.net.httpserver.ExchangeImpl, java.io.InputStream);
descriptor: (Lsun/net/httpserver/ExchangeImpl;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
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.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
iconst_0
putfield sun.net.httpserver.LeftOverInputStream.closed:Z
2: aload 0
iconst_0
putfield sun.net.httpserver.LeftOverInputStream.eof:Z
3: aload 0
iconst_1
newarray 8
putfield sun.net.httpserver.LeftOverInputStream.one:[B
4: aload 0
aload 1
putfield sun.net.httpserver.LeftOverInputStream.t:Lsun/net/httpserver/ExchangeImpl;
5: aload 0
aload 1
invokevirtual sun.net.httpserver.ExchangeImpl.getServerImpl:()Lsun/net/httpserver/ServerImpl;
putfield sun.net.httpserver.LeftOverInputStream.server:Lsun/net/httpserver/ServerImpl;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/net/httpserver/LeftOverInputStream;
0 7 1 t Lsun/net/httpserver/ExchangeImpl;
0 7 2 src Ljava/io/InputStream;
MethodParameters:
Name Flags
t
src
public boolean isDataBuffered();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.net.httpserver.LeftOverInputStream.$assertionsDisabled:Z
ifne 1
aload 0
getfield sun.net.httpserver.LeftOverInputStream.eof:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokespecial java.io.FilterInputStream.available:()I
ifle 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/httpserver/LeftOverInputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.LeftOverInputStream.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.httpserver.LeftOverInputStream.closed:Z
3: aload 0
getfield sun.net.httpserver.LeftOverInputStream.eof:Z
ifne 5
4: aload 0
aload 0
invokestatic sun.net.httpserver.ServerConfig.getDrainAmount:()J
invokevirtual sun.net.httpserver.LeftOverInputStream.drain:(J)Z
putfield sun.net.httpserver.LeftOverInputStream.eof:Z
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/httpserver/LeftOverInputStream;
Exceptions:
throws java.io.IOException
public boolean isClosed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.LeftOverInputStream.closed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/LeftOverInputStream;
public boolean isEOF();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.LeftOverInputStream.eof:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/LeftOverInputStream;
protected abstract int readImpl(byte[], int, int);
descriptor: ([BII)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public synchronized int read();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.LeftOverInputStream.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Stream is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.httpserver.LeftOverInputStream.one:[B
iconst_0
iconst_1
invokevirtual sun.net.httpserver.LeftOverInputStream.readImpl:([BII)I
istore 1
start local 1 3: iload 1
iconst_m1
if_icmpeq 4
iload 1
ifne 5
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.LeftOverInputStream.one:[B
iconst_0
baload
sipush 255
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/httpserver/LeftOverInputStream;
3 6 1 c I
Exceptions:
throws java.io.IOException
public synchronized int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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.LeftOverInputStream.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Stream is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual sun.net.httpserver.LeftOverInputStream.readImpl:([BII)I
ireturn
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/LeftOverInputStream;
0 3 1 b [B
0 3 2 off I
0 3 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public boolean drain(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: sipush 2048
istore 3
start local 3 1: iload 3
newarray 8
astore 4
start local 4 2: goto 10
3: StackMap locals: int byte[]
StackMap stack:
aload 0
getfield sun.net.httpserver.LeftOverInputStream.server:Lsun/net/httpserver/ServerImpl;
invokevirtual sun.net.httpserver.ServerImpl.isFinishing:()Z
ifeq 5
4: goto 11
5: StackMap locals:
StackMap stack:
aload 0
aload 4
iconst_0
iload 3
invokevirtual sun.net.httpserver.LeftOverInputStream.readImpl:([BII)I
i2l
lstore 5
start local 5 6: lload 5
ldc -1
lcmp
ifne 9
7: aload 0
iconst_1
putfield sun.net.httpserver.LeftOverInputStream.eof:Z
8: iconst_1
ireturn
9: StackMap locals: long
StackMap stack:
lload 1
lload 5
lsub
lstore 1
end local 5 10: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 3
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/net/httpserver/LeftOverInputStream;
0 12 1 l J
1 12 3 bufSize I
2 12 4 db [B
6 10 5 len J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
l
}
SourceFile: "LeftOverInputStream.java"