class jakarta.servlet.http.NoBodyResponse extends jakarta.servlet.http.HttpServletResponseWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jakarta.servlet.http.NoBodyResponse
super_class: jakarta.servlet.http.HttpServletResponseWrapper
{
private static final java.util.ResourceBundle lStrings;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private jakarta.servlet.http.NoBodyOutputStream noBody;
descriptor: Ljakarta/servlet/http/NoBodyOutputStream;
flags: (0x0002) ACC_PRIVATE
private java.io.PrintWriter writer;
descriptor: Ljava/io/PrintWriter;
flags: (0x0002) ACC_PRIVATE
private boolean didSetContentLength;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean usingOutputStream;
descriptor: Z
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;
putstatic jakarta.servlet.http.NoBodyResponse.lStrings:Ljava/util/ResourceBundle;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jakarta.servlet.http.HttpServletResponse);
descriptor: (Ljakarta/servlet/http/HttpServletResponse;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jakarta.servlet.http.HttpServletResponseWrapper.<init>:(Ljakarta/servlet/http/HttpServletResponse;)V
1: aload 0
new jakarta.servlet.http.NoBodyOutputStream
dup
invokespecial jakarta.servlet.http.NoBodyOutputStream.<init>:()V
putfield jakarta.servlet.http.NoBodyResponse.noBody:Ljakarta/servlet/http/NoBodyOutputStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 r Ljakarta/servlet/http/HttpServletResponse;
MethodParameters:
Name Flags
r
void setContentLength();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.http.NoBodyResponse.didSetContentLength:Z
ifne 4
1: aload 0
getfield jakarta.servlet.http.NoBodyResponse.writer:Ljava/io/PrintWriter;
ifnull 3
2: aload 0
getfield jakarta.servlet.http.NoBodyResponse.writer:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jakarta.servlet.http.NoBodyResponse.noBody:Ljakarta/servlet/http/NoBodyOutputStream;
invokevirtual jakarta.servlet.http.NoBodyOutputStream.getContentLength:()I
invokevirtual jakarta.servlet.http.NoBodyResponse.setContentLength:(I)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljakarta/servlet/http/NoBodyResponse;
public void setContentLength(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial jakarta.servlet.http.HttpServletResponseWrapper.setContentLength:(I)V
1: aload 0
iconst_1
putfield jakarta.servlet.http.NoBodyResponse.didSetContentLength:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 len I
MethodParameters:
Name Flags
len
public void setContentLengthLong(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokespecial jakarta.servlet.http.HttpServletResponseWrapper.setContentLengthLong:(J)V
1: aload 0
iconst_1
putfield jakarta.servlet.http.NoBodyResponse.didSetContentLength:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 len J
MethodParameters:
Name Flags
len
public void setHeader(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial jakarta.servlet.http.HttpServletResponseWrapper.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual jakarta.servlet.http.NoBodyResponse.checkHeader:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 name Ljava/lang/String;
0 3 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void addHeader(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial jakarta.servlet.http.HttpServletResponseWrapper.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual jakarta.servlet.http.NoBodyResponse.checkHeader:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 name Ljava/lang/String;
0 3 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void setIntHeader(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial jakarta.servlet.http.HttpServletResponseWrapper.setIntHeader:(Ljava/lang/String;I)V
1: aload 0
aload 1
invokevirtual jakarta.servlet.http.NoBodyResponse.checkHeader:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 name Ljava/lang/String;
0 3 2 value I
MethodParameters:
Name Flags
name
value
public void addIntHeader(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial jakarta.servlet.http.HttpServletResponseWrapper.addIntHeader:(Ljava/lang/String;I)V
1: aload 0
aload 1
invokevirtual jakarta.servlet.http.NoBodyResponse.checkHeader:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 name Ljava/lang/String;
0 3 2 value I
MethodParameters:
Name Flags
name
value
private void checkHeader(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "content-length"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
iconst_1
putfield jakarta.servlet.http.NoBodyResponse.didSetContentLength:Z
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/http/NoBodyResponse;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public jakarta.servlet.ServletOutputStream getOutputStream();
descriptor: ()Ljakarta/servlet/ServletOutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.http.NoBodyResponse.writer:Ljava/io/PrintWriter;
ifnull 2
1: new java.lang.IllegalStateException
dup
getstatic jakarta.servlet.http.NoBodyResponse.lStrings:Ljava/util/ResourceBundle;
ldc "err.ise.getOutputStream"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jakarta.servlet.http.NoBodyResponse.usingOutputStream:Z
3: aload 0
getfield jakarta.servlet.http.NoBodyResponse.noBody:Ljakarta/servlet/http/NoBodyOutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/servlet/http/NoBodyResponse;
Exceptions:
throws java.io.IOException
public java.io.PrintWriter getWriter();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.http.NoBodyResponse.usingOutputStream:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
getstatic jakarta.servlet.http.NoBodyResponse.lStrings:Ljava/util/ResourceBundle;
ldc "err.ise.getWriter"
invokevirtual java.util.ResourceBundle.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 jakarta.servlet.http.NoBodyResponse.writer:Ljava/io/PrintWriter;
ifnonnull 5
3: new java.io.OutputStreamWriter
dup
aload 0
getfield jakarta.servlet.http.NoBodyResponse.noBody:Ljakarta/servlet/http/NoBodyOutputStream;
aload 0
invokevirtual jakarta.servlet.http.NoBodyResponse.getCharacterEncoding:()Ljava/lang/String;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 1
start local 1 4: aload 0
new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
putfield jakarta.servlet.http.NoBodyResponse.writer:Ljava/io/PrintWriter;
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield jakarta.servlet.http.NoBodyResponse.writer:Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljakarta/servlet/http/NoBodyResponse;
4 5 1 w Ljava/io/OutputStreamWriter;
Exceptions:
throws java.io.UnsupportedEncodingException
}
SourceFile: "HttpServlet.java"