public class org.apache.coyote.http11.upgrade.UpgradeServletInputStream extends javax.servlet.ServletInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.coyote.http11.upgrade.UpgradeServletInputStream
super_class: javax.servlet.ServletInputStream
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.coyote.http11.upgrade.UpgradeProcessorBase processor;
descriptor: Lorg/apache/coyote/http11/upgrade/UpgradeProcessorBase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.tomcat.util.net.SocketWrapperBase<?> socketWrapper;
descriptor: Lorg/apache/tomcat/util/net/SocketWrapperBase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/tomcat/util/net/SocketWrapperBase<*>;
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean eof;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Boolean ready;
descriptor: Ljava/lang/Boolean;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile javax.servlet.ReadListener listener;
descriptor: Ljavax/servlet/ReadListener;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
2: putstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.coyote.http11.upgrade.UpgradeProcessorBase, org.apache.tomcat.util.net.SocketWrapperBase<?>);
descriptor: (Lorg/apache/coyote/http11/upgrade/UpgradeProcessorBase;Lorg/apache/tomcat/util/net/SocketWrapperBase;)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
invokespecial javax.servlet.ServletInputStream.<init>:()V
1: aload 0
iconst_0
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.closed:Z
2: aload 0
iconst_0
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.eof:Z
3: aload 0
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
4: aload 0
aconst_null
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
5: aload 0
aload 1
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.processor:Lorg/apache/coyote/http11/upgrade/UpgradeProcessorBase;
6: aload 0
aload 2
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
0 8 1 processor Lorg/apache/coyote/http11/upgrade/UpgradeProcessorBase;
0 8 2 socketWrapper Lorg/apache/tomcat/util/net/SocketWrapperBase<*>;
Signature: (Lorg/apache/coyote/http11/upgrade/UpgradeProcessorBase;Lorg/apache/tomcat/util/net/SocketWrapperBase<*>;)V
MethodParameters:
Name Flags
processor
socketWrapper
public final boolean isFinished();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
ifnonnull 4
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "upgrade.sis.isFinished.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.eof:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
public final boolean isReady();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
ifnonnull 4
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "upgrade.sis.isReady.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.eof:Z
ifne 5
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.closed:Z
ifeq 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
ifnull 8
7: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.isReadyForRead:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
9: goto 12
StackMap locals:
StackMap stack: java.io.IOException
10: astore 1
start local 1 11: aload 0
aload 1
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.onError:(Ljava/lang/Throwable;)V
end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
11 12 1 e Ljava/io/IOException;
Exception table:
from to target type
8 9 10 Class java.io.IOException
public final void setReadListener(javax.servlet.ReadListener);
descriptor: (Ljavax/servlet/ReadListener;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: getstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "upgrade.sis.readListener.null"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
ifnull 8
5: new java.lang.IllegalArgumentException
dup
6: getstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "upgrade.sis.readListener.set"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.closed:Z
ifeq 10
9: new java.lang.IllegalStateException
dup
getstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "upgrade.sis.read.closed"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
11: invokestatic org.apache.coyote.ContainerThreadMarker.isContainerThread:()Z
ifeq 14
12: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.processor:Lorg/apache/coyote/http11/upgrade/UpgradeProcessorBase;
getstatic org.apache.tomcat.util.net.DispatchType.NON_BLOCKING_READ:Lorg/apache/tomcat/util/net/DispatchType;
invokevirtual org.apache.coyote.http11.upgrade.UpgradeProcessorBase.addDispatch:(Lorg/apache/tomcat/util/net/DispatchType;)V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.registerReadInterest:()V
15: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
0 17 1 listener Ljavax/servlet/ReadListener;
MethodParameters:
Name Flags
listener
public final int read();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.preReadChecks:()V
1: aload 0
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.readInternal:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
Exceptions:
throws java.io.IOException
public final int readLine(byte[], int, int);
descriptor: ([BII)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.preReadChecks:()V
1: iload 3
ifgt 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 4: goto 9
start local 5 5: StackMap locals: int int
StackMap stack:
aload 1
iload 2
iinc 2 1
iload 5
i2b
bastore
6: iinc 4 1
7: iload 5
bipush 10
if_icmpeq 11
iload 4
iload 3
if_icmpne 9
8: goto 11
end local 5 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.readInternal:()I
dup
istore 5
start local 5 10: iconst_m1
if_icmpne 5
11: StackMap locals: int
StackMap stack:
iload 4
ifle 12
iload 4
goto 13
StackMap locals:
StackMap stack:
12: iconst_m1
StackMap locals:
StackMap stack: int
13: ireturn
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 14 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
0 14 1 b [B
0 14 2 off I
0 14 3 len I
4 14 4 count I
5 9 5 c I
10 14 5 c I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public final int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.preReadChecks:()V
1: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
ifnonnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack: org.apache.tomcat.util.net.SocketWrapperBase
2: iconst_0
StackMap locals: org.apache.coyote.http11.upgrade.UpgradeServletInputStream byte[] int int
StackMap stack: org.apache.tomcat.util.net.SocketWrapperBase int
3: aload 1
iload 2
iload 3
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.read:(Z[BII)I
istore 4
start local 4 4: iload 4
iconst_m1
if_icmpne 6
5: aload 0
iconst_1
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.eof:Z
6: StackMap locals: int
StackMap stack:
iload 4
7: ireturn
end local 4 8: StackMap locals: org.apache.coyote.http11.upgrade.UpgradeServletInputStream byte[] int int
StackMap stack: java.io.IOException
astore 4
start local 4 9: aload 0
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.close:()V
10: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
0 11 1 b [B
0 11 2 off I
0 11 3 len I
4 8 4 result I
9 11 4 ioe Ljava/io/IOException;
Exception table:
from to target type
1 7 8 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.eof:Z
1: aload 0
iconst_1
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.closed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
Exceptions:
throws java.io.IOException
private void preReadChecks();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
ifnull 2
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
ifnull 1
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
getstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "upgrade.sis.read.ise"
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:
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.closed:Z
ifeq 4
3: new java.lang.IllegalStateException
dup
getstatic org.apache.coyote.http11.upgrade.UpgradeServletInputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "upgrade.sis.read.closed"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.ready:Ljava/lang/Boolean;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
private int readInternal();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: iconst_1
newarray 8
astore 1
start local 1 1: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.listener:Ljavax/servlet/ReadListener;
ifnonnull 2
iconst_1
goto 3
StackMap locals: org.apache.coyote.http11.upgrade.UpgradeServletInputStream byte[]
StackMap stack: org.apache.tomcat.util.net.SocketWrapperBase
2: iconst_0
StackMap locals: org.apache.coyote.http11.upgrade.UpgradeServletInputStream byte[]
StackMap stack: org.apache.tomcat.util.net.SocketWrapperBase int
3: aload 1
iconst_0
iconst_1
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.read:(Z[BII)I
istore 2
start local 2 4: goto 8
end local 2 StackMap locals:
StackMap stack: java.io.IOException
5: astore 3
start local 3 6: aload 0
invokevirtual org.apache.coyote.http11.upgrade.UpgradeServletInputStream.close:()V
7: aload 3
athrow
end local 3 start local 2 8: StackMap locals: int
StackMap stack:
iload 2
ifne 10
9: iconst_m1
ireturn
10: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 13
11: aload 0
iconst_1
putfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.eof:Z
12: iconst_m1
ireturn
13: StackMap locals:
StackMap stack:
aload 1
iconst_0
baload
sipush 255
iand
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
1 14 1 b [B
4 5 2 result I
8 14 2 result I
6 8 3 ioe Ljava/io/IOException;
Exception table:
from to target type
1 4 5 Class java.io.IOException
Exceptions:
throws java.io.IOException
final void onDataAvailable();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe method getContextBind() from the type UpgradeToken refers to the missing type ContextBind\n\tThe method getContextBind() from the type UpgradeToken refers to the missing type ContextBind\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
private final void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe method getContextBind() from the type UpgradeToken refers to the missing type ContextBind\n\tThe method getContextBind() from the type UpgradeToken refers to the missing type ContextBind\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
MethodParameters:
Name Flags
t
final boolean isClosed();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.http11.upgrade.UpgradeServletInputStream.closed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/http11/upgrade/UpgradeServletInputStream;
}
SourceFile: "UpgradeServletInputStream.java"