public class org.apache.catalina.connector.CoyoteOutputStream extends jakarta.servlet.ServletOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.connector.CoyoteOutputStream
super_class: jakarta.servlet.ServletOutputStream
{
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.OutputBuffer ob;
descriptor: Lorg/apache/catalina/connector/OutputBuffer;
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/CoyoteOutputStream;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.connector.CoyoteOutputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.catalina.connector.OutputBuffer);
descriptor: (Lorg/apache/catalina/connector/OutputBuffer;)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.ServletOutputStream.<init>:()V
1: aload 0
aload 1
putfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
0 3 1 ob Lorg/apache/catalina/connector/OutputBuffer;
MethodParameters:
Name Flags
ob
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/CoyoteOutputStream;
Exceptions:
throws java.lang.CloneNotSupportedException
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.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkNonBlockingWrite:()Z
istore 2
start local 2 1: aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
iload 1
invokevirtual org.apache.catalina.connector.OutputBuffer.writeByte:(I)V
2: iload 2
ifeq 4
3: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkRegisterForWrite:()V
4: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
0 5 1 i I
1 5 2 nonBlocking Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
public void write(byte[]);
descriptor: ([B)V
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.CoyoteOutputStream.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
0 2 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkNonBlockingWrite:()Z
istore 4
start local 4 1: aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
aload 1
iload 2
iload 3
invokevirtual org.apache.catalina.connector.OutputBuffer.write:([BII)V
2: iload 4
ifeq 4
3: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkRegisterForWrite:()V
4: StackMap locals: int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
0 5 1 b [B
0 5 2 off I
0 5 3 len I
1 5 4 nonBlocking Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkNonBlockingWrite:()Z
istore 2
start local 2 1: aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
aload 1
invokevirtual org.apache.catalina.connector.OutputBuffer.write:(Ljava/nio/ByteBuffer;)V
2: iload 2
ifeq 4
3: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkRegisterForWrite:()V
4: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
0 5 1 from Ljava/nio/ByteBuffer;
1 5 2 nonBlocking Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkNonBlockingWrite:()Z
istore 1
start local 1 1: aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.flush:()V
2: iload 1
ifeq 4
3: aload 0
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.checkRegisterForWrite:()V
4: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
1 5 1 nonBlocking Z
Exceptions:
throws java.io.IOException
private boolean checkNonBlockingWrite();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.isBlocking:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ifeq 5
aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.isReady:()Z
ifne 5
4: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.connector.CoyoteOutputStream.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteOutputStream.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
5: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
3 6 1 nonBlocking Z
private void checkRegisterForWrite();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.checkRegisterForWrite:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
Exceptions:
throws java.io.IOException
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.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.isReady:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
public void setWriteListener(jakarta.servlet.WriteListener);
descriptor: (Ljakarta/servlet/WriteListener;)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.CoyoteOutputStream.ob:Lorg/apache/catalina/connector/OutputBuffer;
aload 1
invokevirtual org.apache.catalina.connector.OutputBuffer.setWriteListener:(Ljakarta/servlet/WriteListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/CoyoteOutputStream;
0 2 1 listener Ljakarta/servlet/WriteListener;
MethodParameters:
Name Flags
listener
}
SourceFile: "CoyoteOutputStream.java"