class jakarta.servlet.http.NoBodyOutputStream extends jakarta.servlet.ServletOutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jakarta.servlet.http.NoBodyOutputStream
super_class: jakarta.servlet.ServletOutputStream
{
private static final java.lang.String LSTRING_FILE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jakarta.servlet.http.LocalStrings"
private static final java.util.ResourceBundle lStrings;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final jakarta.servlet.http.HttpServletResponse response;
descriptor: Ljakarta/servlet/http/HttpServletResponse;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean flushed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int contentLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jakarta.servlet.http.LocalStrings"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
1: putstatic jakarta.servlet.http.NoBodyOutputStream.lStrings:Ljava/util/ResourceBundle;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jakarta.servlet.http.HttpServletResponse);
descriptor: (Ljakarta/servlet/http/HttpServletResponse;)V
flags: (0x0000)
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
iconst_0
putfield jakarta.servlet.http.NoBodyOutputStream.flushed:Z
2: aload 0
iconst_0
putfield jakarta.servlet.http.NoBodyOutputStream.contentLength:I
3: aload 0
aload 1
putfield jakarta.servlet.http.NoBodyOutputStream.response:Ljakarta/servlet/http/HttpServletResponse;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljakarta/servlet/http/NoBodyOutputStream;
0 5 1 response Ljakarta/servlet/http/HttpServletResponse;
MethodParameters:
Name Flags
response
int getContentLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.http.NoBodyOutputStream.contentLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/http/NoBodyOutputStream;
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield jakarta.servlet.http.NoBodyOutputStream.contentLength:I
iconst_1
iadd
putfield jakarta.servlet.http.NoBodyOutputStream.contentLength:I
1: aload 0
invokevirtual jakarta.servlet.http.NoBodyOutputStream.checkCommit:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyOutputStream;
0 3 1 b I
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=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: getstatic jakarta.servlet.http.NoBodyOutputStream.lStrings:Ljava/util/ResourceBundle;
ldc "err.io.nullArray"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 2
iflt 5
iload 3
iflt 5
iload 2
iload 3
iadd
aload 1
arraylength
if_icmple 12
5: StackMap locals:
StackMap stack:
getstatic jakarta.servlet.http.NoBodyOutputStream.lStrings:Ljava/util/ResourceBundle;
ldc "err.io.indexOutOfBounds"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 6: iconst_3
anewarray java.lang.Object
astore 5
start local 5 7: aload 5
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
8: aload 5
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: aload 5
iconst_2
aload 1
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: aload 4
aload 5
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
11: new java.lang.IndexOutOfBoundsException
dup
aload 4
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 0
dup
getfield jakarta.servlet.http.NoBodyOutputStream.contentLength:I
iload 3
iadd
putfield jakarta.servlet.http.NoBodyOutputStream.contentLength:I
13: aload 0
invokevirtual jakarta.servlet.http.NoBodyOutputStream.checkCommit:()V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljakarta/servlet/http/NoBodyOutputStream;
0 15 1 buf [B
0 15 2 offset I
0 15 3 len I
6 12 4 msg Ljava/lang/String;
7 12 5 msgArgs [Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
offset
len
public boolean isReady();
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 Ljakarta/servlet/http/NoBodyOutputStream;
public void setWriteListener(jakarta.servlet.WriteListener);
descriptor: (Ljakarta/servlet/WriteListener;)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 Ljakarta/servlet/http/NoBodyOutputStream;
0 1 1 listener Ljakarta/servlet/WriteListener;
MethodParameters:
Name Flags
listener
private void checkCommit();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.http.NoBodyOutputStream.flushed:Z
ifne 3
aload 0
getfield jakarta.servlet.http.NoBodyOutputStream.contentLength:I
aload 0
getfield jakarta.servlet.http.NoBodyOutputStream.response:Ljakarta/servlet/http/HttpServletResponse;
invokeinterface jakarta.servlet.http.HttpServletResponse.getBufferSize:()I
if_icmple 3
1: aload 0
getfield jakarta.servlet.http.NoBodyOutputStream.response:Ljakarta/servlet/http/HttpServletResponse;
invokeinterface jakarta.servlet.http.HttpServletResponse.flushBuffer:()V
2: aload 0
iconst_1
putfield jakarta.servlet.http.NoBodyOutputStream.flushed:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/servlet/http/NoBodyOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "HttpServlet.java"