public class jakarta.servlet.ServletResponseWrapper implements jakarta.servlet.ServletResponse
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jakarta.servlet.ServletResponseWrapper
super_class: java.lang.Object
{
private jakarta.servlet.ServletResponse response;
descriptor: Ljakarta/servlet/ServletResponse;
flags: (0x0002) ACC_PRIVATE
public void <init>(jakarta.servlet.ServletResponse);
descriptor: (Ljakarta/servlet/ServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "Response cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jakarta.servlet.ServletResponseWrapper jakarta.servlet.ServletResponse
StackMap stack:
aload 0
aload 1
putfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljakarta/servlet/ServletResponseWrapper;
0 5 1 response Ljakarta/servlet/ServletResponse;
MethodParameters:
Name Flags
response
public jakarta.servlet.ServletResponse getResponse();
descriptor: ()Ljakarta/servlet/ServletResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
public void setResponse(jakarta.servlet.ServletResponse);
descriptor: (Ljakarta/servlet/ServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Response cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/servlet/ServletResponseWrapper;
0 4 1 response Ljakarta/servlet/ServletResponse;
MethodParameters:
Name Flags
response
public void setCharacterEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
aload 1
invokeinterface jakarta.servlet.ServletResponse.setCharacterEncoding:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
0 2 1 charset Ljava/lang/String;
MethodParameters:
Name Flags
charset
public java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.getCharacterEncoding:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
public jakarta.servlet.ServletOutputStream getOutputStream();
descriptor: ()Ljakarta/servlet/ServletOutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.getOutputStream:()Ljakarta/servlet/ServletOutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
Exceptions:
throws java.io.IOException
public java.io.PrintWriter getWriter();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.getWriter:()Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
Exceptions:
throws java.io.IOException
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
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
iload 1
invokeinterface jakarta.servlet.ServletResponse.setContentLength:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
0 2 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
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
lload 1
invokeinterface jakarta.servlet.ServletResponse.setContentLengthLong:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
0 2 1 len J
MethodParameters:
Name Flags
len
public void setContentType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
aload 1
invokeinterface jakarta.servlet.ServletResponse.setContentType:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
0 2 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.getContentType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
public void setBufferSize(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
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
iload 1
invokeinterface jakarta.servlet.ServletResponse.setBufferSize:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
0 2 1 size I
MethodParameters:
Name Flags
size
public int getBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.getBufferSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
public void flushBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.flushBuffer:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
Exceptions:
throws java.io.IOException
public boolean isCommitted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.isCommitted:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.reset:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
public void resetBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.resetBuffer:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
public void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
aload 1
invokeinterface jakarta.servlet.ServletResponse.setLocale:(Ljava/util/Locale;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/ServletResponseWrapper;
0 2 1 loc Ljava/util/Locale;
MethodParameters:
Name Flags
loc
public java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokeinterface jakarta.servlet.ServletResponse.getLocale:()Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/ServletResponseWrapper;
public boolean isWrapperFor(jakarta.servlet.ServletResponse);
descriptor: (Ljakarta/servlet/ServletResponse;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
instanceof jakarta.servlet.ServletResponseWrapper
ifeq 4
3: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
checkcast jakarta.servlet.ServletResponseWrapper
aload 1
invokevirtual jakarta.servlet.ServletResponseWrapper.isWrapperFor:(Ljakarta/servlet/ServletResponse;)Z
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljakarta/servlet/ServletResponseWrapper;
0 5 1 wrapped Ljakarta/servlet/ServletResponse;
MethodParameters:
Name Flags
wrapped
public boolean isWrapperFor(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljakarta/servlet/ServletResponse;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Given class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not a subinterface of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc Ljakarta/servlet/ServletResponse;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
instanceof jakarta.servlet.ServletResponseWrapper
ifeq 8
7: aload 0
getfield jakarta.servlet.ServletResponseWrapper.response:Ljakarta/servlet/ServletResponse;
checkcast jakarta.servlet.ServletResponseWrapper
aload 1
invokevirtual jakarta.servlet.ServletResponseWrapper.isWrapperFor:(Ljava/lang/Class;)Z
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljakarta/servlet/ServletResponseWrapper;
0 9 1 wrappedType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
wrappedType
}
SourceFile: "ServletResponseWrapper.java"