public class org.apache.catalina.connector.CoyoteInputStream extends jakarta.servlet.ServletInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.connector.CoyoteInputStream
super_class: jakarta.servlet.ServletInputStream
{
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected org.apache.catalina.connector.InputBuffer ib;
descriptor: Lorg/apache/catalina/connector/InputBuffer;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/connector/CoyoteInputStream;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.connector.CoyoteInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.catalina.connector.InputBuffer);
descriptor: (Lorg/apache/catalina/connector/InputBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jakarta.servlet.ServletInputStream.<init>:()V
1: aload 0
aload 1
putfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
0 3 1 ib Lorg/apache/catalina/connector/InputBuffer;
MethodParameters:
Name Flags
ib
void clear();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
protected java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.CloneNotSupportedException
dup
invokespecial java.lang.CloneNotSupportedException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
Exceptions:
throws java.lang.CloneNotSupportedException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.CoyoteInputStream.checkNonBlockingRead:()V
1: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 10
2: new org.apache.catalina.connector.CoyoteInputStream$PrivilegedRead
dup
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokespecial org.apache.catalina.connector.CoyoteInputStream$PrivilegedRead.<init>:(Lorg/apache/catalina/connector/InputBuffer;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 1
start local 1 3: aload 1
invokevirtual java.lang.Integer.intValue:()I
4: ireturn
end local 1 5: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 6: aload 1
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 2
start local 2 7: aload 2
instanceof java.io.IOException
ifeq 9
8: aload 2
checkcast java.io.IOException
athrow
9: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
new java.lang.RuntimeException
dup
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokevirtual org.apache.catalina.connector.InputBuffer.readByte:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
3 5 1 result Ljava/lang/Integer;
6 10 1 pae Ljava/security/PrivilegedActionException;
7 10 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 9
1: new org.apache.catalina.connector.CoyoteInputStream$PrivilegedAvailable
dup
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokespecial org.apache.catalina.connector.CoyoteInputStream$PrivilegedAvailable.<init>:(Lorg/apache/catalina/connector/InputBuffer;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 1
start local 1 2: aload 1
invokevirtual java.lang.Integer.intValue:()I
3: ireturn
end local 1 4: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 5: aload 1
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 2
start local 2 6: aload 2
instanceof java.io.IOException
ifeq 8
7: aload 2
checkcast java.io.IOException
athrow
8: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
new java.lang.RuntimeException
dup
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokevirtual org.apache.catalina.connector.InputBuffer.available:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
2 4 1 result Ljava/lang/Integer;
5 9 1 pae Ljava/security/PrivilegedActionException;
6 9 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 3 4 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.apache.catalina.connector.CoyoteInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b final
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.catalina.connector.CoyoteInputStream.checkNonBlockingRead:()V
1: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 11
2: new org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadArray
dup
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
aload 1
iload 2
iload 3
invokespecial org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadArray.<init>:(Lorg/apache/catalina/connector/InputBuffer;[BII)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 4: aload 4
invokevirtual java.lang.Integer.intValue:()I
5: ireturn
end local 4 6: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 4
start local 4 7: aload 4
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 5
start local 5 8: aload 5
instanceof java.io.IOException
ifeq 10
9: aload 5
checkcast java.io.IOException
athrow
10: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
new java.lang.RuntimeException
dup
aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 5
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
aload 1
iload 2
iload 3
invokevirtual org.apache.catalina.connector.InputBuffer.read:([BII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
0 12 1 b [B
0 12 2 off I
0 12 3 len I
4 6 4 result Ljava/lang/Integer;
7 11 4 pae Ljava/security/PrivilegedActionException;
8 11 5 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 6 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b final
off final
len final
public int read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.CoyoteInputStream.checkNonBlockingRead:()V
1: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 10
2: new org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadBuffer
dup
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
aload 1
invokespecial org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadBuffer.<init>:(Lorg/apache/catalina/connector/InputBuffer;Ljava/nio/ByteBuffer;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 3: aload 2
invokevirtual java.lang.Integer.intValue:()I
4: ireturn
end local 2 5: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 2
start local 2 6: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 3
start local 3 7: aload 3
instanceof java.io.IOException
ifeq 9
8: aload 3
checkcast java.io.IOException
athrow
9: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
new java.lang.RuntimeException
dup
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
aload 1
invokevirtual org.apache.catalina.connector.InputBuffer.read:(Ljava/nio/ByteBuffer;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
0 11 1 b Ljava/nio/ByteBuffer;
3 5 2 result Ljava/lang/Integer;
6 10 2 pae Ljava/security/PrivilegedActionException;
7 10 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 8
1: new org.apache.catalina.connector.CoyoteInputStream$PrivilegedClose
dup
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokespecial org.apache.catalina.connector.CoyoteInputStream$PrivilegedClose.<init>:(Lorg/apache/catalina/connector/InputBuffer;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
2: goto 9
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
3: astore 1
start local 1 4: aload 1
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 2
start local 2 5: aload 2
instanceof java.io.IOException
ifeq 7
6: aload 2
checkcast java.io.IOException
athrow
7: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
new java.lang.RuntimeException
dup
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokevirtual org.apache.catalina.connector.InputBuffer.close:()V
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
4 8 1 pae Ljava/security/PrivilegedActionException;
5 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
public boolean isFinished();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokevirtual org.apache.catalina.connector.InputBuffer.isFinished:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
public boolean isReady();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokevirtual org.apache.catalina.connector.InputBuffer.isReady:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
public void setReadListener(jakarta.servlet.ReadListener);
descriptor: (Ljakarta/servlet/ReadListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
aload 1
invokevirtual org.apache.catalina.connector.InputBuffer.setReadListener:(Ljakarta/servlet/ReadListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
0 2 1 listener Ljakarta/servlet/ReadListener;
MethodParameters:
Name Flags
listener
private void checkNonBlockingRead();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokevirtual org.apache.catalina.connector.InputBuffer.isBlocking:()Z
ifne 2
aload 0
getfield org.apache.catalina.connector.CoyoteInputStream.ib:Lorg/apache/catalina/connector/InputBuffer;
invokevirtual org.apache.catalina.connector.InputBuffer.isReady:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.connector.CoyoteInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteInputStream.nbNotready"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/connector/CoyoteInputStream;
}
SourceFile: "CoyoteInputStream.java"
NestMembers:
org.apache.catalina.connector.CoyoteInputStream$PrivilegedAvailable org.apache.catalina.connector.CoyoteInputStream$PrivilegedClose org.apache.catalina.connector.CoyoteInputStream$PrivilegedRead org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadArray org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadBuffer
InnerClasses:
private PrivilegedAvailable = org.apache.catalina.connector.CoyoteInputStream$PrivilegedAvailable of org.apache.catalina.connector.CoyoteInputStream
private PrivilegedClose = org.apache.catalina.connector.CoyoteInputStream$PrivilegedClose of org.apache.catalina.connector.CoyoteInputStream
private PrivilegedRead = org.apache.catalina.connector.CoyoteInputStream$PrivilegedRead of org.apache.catalina.connector.CoyoteInputStream
private PrivilegedReadArray = org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadArray of org.apache.catalina.connector.CoyoteInputStream
private PrivilegedReadBuffer = org.apache.catalina.connector.CoyoteInputStream$PrivilegedReadBuffer of org.apache.catalina.connector.CoyoteInputStream