public final class org.apache.coyote.Response
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.coyote.Response
super_class: java.lang.Object
{
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 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 java.util.Locale DEFAULT_LOCALE;
descriptor: Ljava/util/Locale;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
int status;
descriptor: I
flags: (0x0000)
java.lang.String message;
descriptor: Ljava/lang/String;
flags: (0x0000)
final org.apache.tomcat.util.http.MimeHeaders ;
descriptor: Lorg/apache/tomcat/util/http/MimeHeaders;
flags: (0x0010) ACC_FINAL
private java.util.function.Supplier<java.util.Map<java.lang.String, java.lang.String>> trailerFieldsSupplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
org.apache.coyote.OutputBuffer outputBuffer;
descriptor: Lorg/apache/coyote/OutputBuffer;
flags: (0x0000)
final java.lang.Object[] notes;
descriptor: [Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
volatile boolean committed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile org.apache.coyote.ActionHook hook;
descriptor: Lorg/apache/coyote/ActionHook;
flags: (0x0040) ACC_VOLATILE
java.lang.String contentType;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String contentLanguage;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0000)
java.lang.String characterEncoding;
descriptor: Ljava/lang/String;
flags: (0x0000)
long contentLength;
descriptor: J
flags: (0x0000)
private java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private long contentWritten;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long commitTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
java.lang.Exception errorException;
descriptor: Ljava/lang/Exception;
flags: (0x0000)
private final java.util.concurrent.atomic.AtomicInteger errorState;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
org.apache.coyote.Request req;
descriptor: Lorg/apache/coyote/Request;
flags: (0x0000)
volatile javax.servlet.WriteListener listener;
descriptor: Ljavax/servlet/WriteListener;
flags: (0x0040) ACC_VOLATILE
private boolean fireListener;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean registeredForWrite;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object nonBlockingStateLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/coyote/Response;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.coyote.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
1: ldc Lorg/apache/coyote/Response;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.coyote.Response.log:Lorg/apache/juli/logging/Log;
2: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putstatic org.apache.coyote.Response.DEFAULT_LOCALE:Ljava/util/Locale;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 200
putfield org.apache.coyote.Response.status:I
2: aload 0
aconst_null
putfield org.apache.coyote.Response.message:Ljava/lang/String;
3: aload 0
new org.apache.tomcat.util.http.MimeHeaders
dup
invokespecial org.apache.tomcat.util.http.MimeHeaders.<init>:()V
putfield org.apache.coyote.Response.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
4: aload 0
aconst_null
putfield org.apache.coyote.Response.trailerFieldsSupplier:Ljava/util/function/Supplier;
5: aload 0
bipush 32
anewarray java.lang.Object
putfield org.apache.coyote.Response.notes:[Ljava/lang/Object;
6: aload 0
iconst_0
putfield org.apache.coyote.Response.committed:Z
7: aload 0
aconst_null
putfield org.apache.coyote.Response.contentType:Ljava/lang/String;
8: aload 0
aconst_null
putfield org.apache.coyote.Response.contentLanguage:Ljava/lang/String;
9: aload 0
aconst_null
putfield org.apache.coyote.Response.charset:Ljava/nio/charset/Charset;
10: aload 0
aconst_null
putfield org.apache.coyote.Response.characterEncoding:Ljava/lang/String;
11: aload 0
ldc -1
putfield org.apache.coyote.Response.contentLength:J
12: aload 0
getstatic org.apache.coyote.Response.DEFAULT_LOCALE:Ljava/util/Locale;
putfield org.apache.coyote.Response.locale:Ljava/util/Locale;
13: aload 0
lconst_0
putfield org.apache.coyote.Response.contentWritten:J
14: aload 0
ldc -1
putfield org.apache.coyote.Response.commitTime:J
15: aload 0
aconst_null
putfield org.apache.coyote.Response.errorException:Ljava/lang/Exception;
16: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.apache.coyote.Response.errorState:Ljava/util/concurrent/atomic/AtomicInteger;
17: aload 0
iconst_0
putfield org.apache.coyote.Response.fireListener:Z
18: aload 0
iconst_0
putfield org.apache.coyote.Response.registeredForWrite:Z
19: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.apache.coyote.Response.nonBlockingStateLock:Ljava/lang/Object;
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/coyote/Response;
public org.apache.coyote.Request getRequest();
descriptor: ()Lorg/apache/coyote/Request;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.req:Lorg/apache/coyote/Request;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void setRequest(org.apache.coyote.Request);
descriptor: (Lorg/apache/coyote/Request;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.coyote.Response.req:Lorg/apache/coyote/Request;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 req Lorg/apache/coyote/Request;
MethodParameters:
Name Flags
req
public void setOutputBuffer(org.apache.coyote.OutputBuffer);
descriptor: (Lorg/apache/coyote/OutputBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.coyote.Response.outputBuffer:Lorg/apache/coyote/OutputBuffer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 outputBuffer Lorg/apache/coyote/OutputBuffer;
MethodParameters:
Name Flags
outputBuffer
public org.apache.tomcat.util.http.MimeHeaders ();
descriptor: ()Lorg/apache/tomcat/util/http/MimeHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
protected void setHook(org.apache.coyote.ActionHook);
descriptor: (Lorg/apache/coyote/ActionHook;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.coyote.Response.hook:Lorg/apache/coyote/ActionHook;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 hook Lorg/apache/coyote/ActionHook;
MethodParameters:
Name Flags
hook
public final void setNote(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.coyote.Response.notes:[Ljava/lang/Object;
iload 1
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 pos I
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
pos
value
public final java.lang.Object getNote(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.coyote.Response.notes:[Ljava/lang/Object;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public void action(org.apache.coyote.ActionCode, java.lang.Object);
descriptor: (Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)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
getfield org.apache.coyote.Response.hook:Lorg/apache/coyote/ActionHook;
ifnull 5
1: aload 2
ifnonnull 4
2: aload 0
getfield org.apache.coyote.Response.hook:Lorg/apache/coyote/ActionHook;
aload 1
aload 0
invokeinterface org.apache.coyote.ActionHook.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.Response.hook:Lorg/apache/coyote/ActionHook;
aload 1
aload 2
invokeinterface org.apache.coyote.ActionHook.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/coyote/Response;
0 6 1 actionCode Lorg/apache/coyote/ActionCode;
0 6 2 param Ljava/lang/Object;
MethodParameters:
Name Flags
actionCode
param
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.status:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void setStatus(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
putfield org.apache.coyote.Response.status:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 status I
MethodParameters:
Name Flags
status
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.message:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void setMessage(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
aload 1
putfield org.apache.coyote.Response.message:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public boolean isCommitted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.committed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void setCommitted(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
aload 0
getfield org.apache.coyote.Response.committed:Z
ifne 2
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.apache.coyote.Response.commitTime:J
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.coyote.Response.committed:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/coyote/Response;
0 4 1 v Z
MethodParameters:
Name Flags
v
public long getCommitTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.commitTime:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void setErrorException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.coyote.Response.errorException:Ljava/lang/Exception;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 ex Ljava/lang/Exception;
MethodParameters:
Name Flags
ex
public java.lang.Exception getErrorException();
descriptor: ()Ljava/lang/Exception;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.errorException:Ljava/lang/Exception;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public boolean isExceptionPresent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.errorException:Ljava/lang/Exception;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
public boolean setError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.errorState:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public boolean isError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.errorState:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
public boolean isErrorReportRequired();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.errorState:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
iconst_1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
public boolean setErrorReported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.errorState:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_1
iconst_2
invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.committed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.coyote.Response.recycle:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/coyote/Response;
Exceptions:
throws java.lang.IllegalStateException
public boolean (java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.coyote.Response.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 1: iload 3
bipush 67
if_icmpeq 2
iload 3
bipush 99
if_icmpne 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.apache.coyote.Response.checkSpecialHeader:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.Response.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.setValue:(Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/coyote/Response;
0 6 1 name Ljava/lang/String;
0 6 2 value Ljava/lang/String;
1 6 3 cc C
MethodParameters:
Name Flags
name
value
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.apache.coyote.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void (java.lang.String, java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 1: iload 4
bipush 67
if_icmpeq 2
iload 4
bipush 99
if_icmpne 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.apache.coyote.Response.checkSpecialHeader:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.Response.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.addValue:(Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
astore 5
start local 5 5: aload 3
ifnull 7
6: aload 5
aload 3
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setCharset:(Ljava/nio/charset/Charset;)V
7: StackMap locals: org.apache.tomcat.util.buf.MessageBytes
StackMap stack:
aload 5
aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
8: return
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 9 0 this Lorg/apache/coyote/Response;
0 9 1 name Ljava/lang/String;
0 9 2 value Ljava/lang/String;
0 9 3 charset Ljava/nio/charset/Charset;
1 9 4 cc C
5 9 5 mb Lorg/apache/tomcat/util/buf/MessageBytes;
MethodParameters:
Name Flags
name
value
charset
public void setTrailerFields(java.util.function.Supplier<java.util.Map<java.lang.String, java.lang.String>>);
descriptor: (Ljava/util/function/Supplier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
astore 2
start local 2 1: aload 0
getstatic org.apache.coyote.ActionCode.IS_TRAILER_FIELDS_SUPPORTED:Lorg/apache/coyote/ActionCode;
aload 2
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
2: aload 2
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 4
3: new java.lang.IllegalStateException
dup
getstatic org.apache.coyote.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.noTrailers.notSupported"
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: java.util.concurrent.atomic.AtomicBoolean
StackMap stack:
aload 0
aload 1
putfield org.apache.coyote.Response.trailerFieldsSupplier:Ljava/util/function/Supplier;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/coyote/Response;
0 6 1 supplier Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
1 6 2 trailerFieldsSupported Ljava/util/concurrent/atomic/AtomicBoolean;
Signature: (Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
supplier
public java.util.function.Supplier<java.util.Map<java.lang.String, java.lang.String>> getTrailerFields();
descriptor: ()Ljava/util/function/Supplier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.trailerFieldsSupplier:Ljava/util/function/Supplier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
Signature: ()Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
private boolean (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Content-Type"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aload 2
invokevirtual org.apache.coyote.Response.setContentType:(Ljava/lang/String;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
ldc "Content-Length"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
4: aload 2
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 3
start local 3 5: aload 0
lload 3
invokevirtual org.apache.coyote.Response.setContentLength:(J)V
6: iconst_1
ireturn
end local 3 7: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/coyote/Response;
0 10 1 name Ljava/lang/String;
0 10 2 value Ljava/lang/String;
5 7 3 cL J
Exception table:
from to target type
4 6 7 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
name
value
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.coyote.ActionCode.COMMIT:Lorg/apache/coyote/ActionCode;
aload 0
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
1: aload 0
iconst_1
invokevirtual org.apache.coyote.Response.setCommitted:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/coyote/Response;
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 org.apache.coyote.Response.locale:Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
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 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.coyote.Response.locale:Ljava/util/Locale;
3: aload 0
aload 1
invokevirtual java.util.Locale.toLanguageTag:()Ljava/lang/String;
putfield org.apache.coyote.Response.contentLanguage:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/coyote/Response;
0 5 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public java.lang.String getContentLanguage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.contentLanguage:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/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
invokevirtual org.apache.coyote.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.tomcat.util.buf.B2CConverter.getCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putfield org.apache.coyote.Response.charset:Ljava/nio/charset/Charset;
5: aload 0
aload 1
putfield org.apache.coyote.Response.characterEncoding:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/coyote/Response;
0 7 1 characterEncoding Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
characterEncoding
public java.nio.charset.Charset getCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.charset:Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
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 org.apache.coyote.Response.characterEncoding:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void setContentType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
aconst_null
putfield org.apache.coyote.Response.contentType:Ljava/lang/String;
2: return
3: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 4: new java.io.StringReader
dup
aload 1
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokestatic org.apache.tomcat.util.http.parser.MediaType.parseMediaType:(Ljava/io/StringReader;)Lorg/apache/tomcat/util/http/parser/MediaType;
astore 2
5: goto 7
StackMap locals: org.apache.coyote.Response java.lang.String org.apache.tomcat.util.http.parser.MediaType
StackMap stack: java.io.IOException
6: pop
7: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
8: aload 0
aload 1
putfield org.apache.coyote.Response.contentType:Ljava/lang/String;
9: return
10: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.tomcat.util.http.parser.MediaType.toStringNoCharset:()Ljava/lang/String;
putfield org.apache.coyote.Response.contentType:Ljava/lang/String;
11: aload 2
invokevirtual org.apache.tomcat.util.http.parser.MediaType.getCharset:()Ljava/lang/String;
astore 3
start local 3 12: aload 3
ifnull 19
13: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
14: aload 3
invokevirtual java.lang.String.length:()I
ifle 19
15: aload 0
aload 3
invokestatic org.apache.tomcat.util.buf.B2CConverter.getCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putfield org.apache.coyote.Response.charset:Ljava/nio/charset/Charset;
16: goto 19
StackMap locals: org.apache.coyote.Response java.lang.String org.apache.tomcat.util.http.parser.MediaType java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
17: astore 4
start local 4 18: getstatic org.apache.coyote.Response.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.coyote.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.encoding.invalid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/coyote/Response;
0 20 1 type Ljava/lang/String;
4 20 2 m Lorg/apache/tomcat/util/http/parser/MediaType;
12 20 3 charsetValue Ljava/lang/String;
18 19 4 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
15 16 17 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
type
public void setContentTypeNoCharset(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
aload 1
putfield org.apache.coyote.Response.contentType:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
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=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.contentType:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 3
aload 0
getfield org.apache.coyote.Response.charset:Ljava/nio/charset/Charset;
ifnull 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ";charset="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.coyote.Response.characterEncoding:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/coyote/Response;
1 4 1 ret Ljava/lang/String;
public void setContentLength(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
putfield org.apache.coyote.Response.contentLength:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/coyote/Response;
0 2 1 contentLength J
MethodParameters:
Name Flags
contentLength
public int getContentLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.coyote.Response.getContentLengthLong:()J
lstore 1
start local 1 1: lload 1
ldc 2147483647
lcmp
ifge 3
2: lload 1
l2i
ireturn
3: StackMap locals: long
StackMap stack:
iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/coyote/Response;
1 4 1 length J
public long getContentLengthLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.contentLength:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void doWrite(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 0
getfield org.apache.coyote.Response.outputBuffer:Lorg/apache/coyote/OutputBuffer;
aload 1
invokeinterface org.apache.coyote.OutputBuffer.doWrite:(Ljava/nio/ByteBuffer;)I
pop
2: aload 0
dup
getfield org.apache.coyote.Response.contentWritten:J
iload 2
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
i2l
ladd
putfield org.apache.coyote.Response.contentWritten:J
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/coyote/Response;
0 4 1 chunk Ljava/nio/ByteBuffer;
1 4 2 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chunk
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.apache.coyote.Response.contentType:Ljava/lang/String;
1: aload 0
aconst_null
putfield org.apache.coyote.Response.contentLanguage:Ljava/lang/String;
2: aload 0
getstatic org.apache.coyote.Response.DEFAULT_LOCALE:Ljava/util/Locale;
putfield org.apache.coyote.Response.locale:Ljava/util/Locale;
3: aload 0
aconst_null
putfield org.apache.coyote.Response.charset:Ljava/nio/charset/Charset;
4: aload 0
aconst_null
putfield org.apache.coyote.Response.characterEncoding:Ljava/lang/String;
5: aload 0
ldc -1
putfield org.apache.coyote.Response.contentLength:J
6: aload 0
sipush 200
putfield org.apache.coyote.Response.status:I
7: aload 0
aconst_null
putfield org.apache.coyote.Response.message:Ljava/lang/String;
8: aload 0
iconst_0
putfield org.apache.coyote.Response.committed:Z
9: aload 0
ldc -1
putfield org.apache.coyote.Response.commitTime:J
10: aload 0
aconst_null
putfield org.apache.coyote.Response.errorException:Ljava/lang/Exception;
11: aload 0
getfield org.apache.coyote.Response.errorState:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
12: aload 0
getfield org.apache.coyote.Response.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
invokevirtual org.apache.tomcat.util.http.MimeHeaders.clear:()V
13: aload 0
aconst_null
putfield org.apache.coyote.Response.trailerFieldsSupplier:Ljava/util/function/Supplier;
14: aload 0
aconst_null
putfield org.apache.coyote.Response.listener:Ljavax/servlet/WriteListener;
15: aload 0
iconst_0
putfield org.apache.coyote.Response.fireListener:Z
16: aload 0
iconst_0
putfield org.apache.coyote.Response.registeredForWrite:Z
17: aload 0
lconst_0
putfield org.apache.coyote.Response.contentWritten:J
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/coyote/Response;
public long getContentWritten();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.contentWritten:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public long getBytesWritten(boolean);
descriptor: (Z)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: aload 0
getstatic org.apache.coyote.ActionCode.CLIENT_FLUSH:Lorg/apache/coyote/ActionCode;
aload 0
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.coyote.Response.outputBuffer:Lorg/apache/coyote/OutputBuffer;
invokeinterface org.apache.coyote.OutputBuffer.getBytesWritten:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/coyote/Response;
0 3 1 flush Z
MethodParameters:
Name Flags
flush
public javax.servlet.WriteListener getWriteListener();
descriptor: ()Ljavax/servlet/WriteListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.listener:Ljavax/servlet/WriteListener;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/coyote/Response;
public void setWriteListener(javax.servlet.WriteListener);
descriptor: (Ljavax/servlet/WriteListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: getstatic org.apache.coyote.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.nullWriteListener"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.coyote.Response.getWriteListener:()Ljavax/servlet/WriteListener;
ifnull 8
5: new java.lang.IllegalStateException
dup
6: getstatic org.apache.coyote.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.writeListenerSet"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
7: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
astore 2
start local 2 9: aload 0
getstatic org.apache.coyote.ActionCode.ASYNC_IS_ASYNC:Lorg/apache/coyote/ActionCode;
aload 2
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
10: aload 2
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 14
11: new java.lang.IllegalStateException
dup
12: getstatic org.apache.coyote.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.notAsync"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
13: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: java.util.concurrent.atomic.AtomicBoolean
StackMap stack:
aload 0
aload 1
putfield org.apache.coyote.Response.listener:Ljavax/servlet/WriteListener;
15: aload 0
invokevirtual org.apache.coyote.Response.isReady:()Z
ifeq 26
16: aload 0
getfield org.apache.coyote.Response.nonBlockingStateLock:Ljava/lang/Object;
dup
astore 3
monitorenter
17: aload 0
iconst_1
putfield org.apache.coyote.Response.registeredForWrite:Z
18: aload 0
iconst_1
putfield org.apache.coyote.Response.fireListener:Z
19: aload 3
monitorexit
20: goto 23
StackMap locals: org.apache.coyote.Response javax.servlet.WriteListener java.util.concurrent.atomic.AtomicBoolean java.lang.Object
StackMap stack: java.lang.Throwable
21: aload 3
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.coyote.ActionCode.DISPATCH_WRITE:Lorg/apache/coyote/ActionCode;
aconst_null
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
24: invokestatic org.apache.coyote.ContainerThreadMarker.isContainerThread:()Z
ifne 26
25: aload 0
getstatic org.apache.coyote.ActionCode.DISPATCH_EXECUTE:Lorg/apache/coyote/ActionCode;
aconst_null
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
26: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/apache/coyote/Response;
0 27 1 listener Ljavax/servlet/WriteListener;
9 27 2 result Ljava/util/concurrent/atomic/AtomicBoolean;
Exception table:
from to target type
17 20 21 any
21 22 21 any
MethodParameters:
Name Flags
listener
public boolean isReady();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.coyote.Response.listener:Ljavax/servlet/WriteListener;
ifnonnull 4
1: getstatic org.apache.coyote.Response.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 3
2: getstatic org.apache.coyote.Response.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.coyote.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.notNonBlocking"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 5: aload 0
getfield org.apache.coyote.Response.nonBlockingStateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
6: aload 0
getfield org.apache.coyote.Response.registeredForWrite:Z
ifeq 10
7: aload 0
iconst_1
putfield org.apache.coyote.Response.fireListener:Z
8: aload 2
monitorexit
9: iconst_0
ireturn
10: StackMap locals: int java.lang.Object
StackMap stack:
aload 0
invokevirtual org.apache.coyote.Response.checkRegisterForWrite:()Z
istore 1
11: aload 0
iload 1
ifeq 12
iconst_0
goto 13
StackMap locals:
StackMap stack: org.apache.coyote.Response
12: iconst_1
StackMap locals: org.apache.coyote.Response int java.lang.Object
StackMap stack: org.apache.coyote.Response int
13: putfield org.apache.coyote.Response.fireListener:Z
14: aload 2
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 2
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/coyote/Response;
5 19 1 ready Z
Exception table:
from to target type
6 9 16 any
10 15 16 any
16 17 16 any
public boolean checkRegisterForWrite();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
astore 1
start local 1 1: aload 0
getfield org.apache.coyote.Response.nonBlockingStateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
getfield org.apache.coyote.Response.registeredForWrite:Z
ifne 7
3: aload 0
getstatic org.apache.coyote.ActionCode.NB_WRITE_INTEREST:Lorg/apache/coyote/ActionCode;
aload 1
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
4: aload 0
aload 1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 5
iconst_0
goto 6
StackMap locals: org.apache.coyote.Response java.util.concurrent.atomic.AtomicBoolean java.lang.Object
StackMap stack: org.apache.coyote.Response
5: iconst_1
StackMap locals: org.apache.coyote.Response java.util.concurrent.atomic.AtomicBoolean java.lang.Object
StackMap stack: org.apache.coyote.Response int
6: putfield org.apache.coyote.Response.registeredForWrite:Z
7: StackMap locals:
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/coyote/Response;
1 12 1 ready Ljava/util/concurrent/atomic/AtomicBoolean;
Exception table:
from to target type
2 8 9 any
9 10 9 any
public void onWritePossible();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.apache.coyote.Response.nonBlockingStateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
iconst_0
putfield org.apache.coyote.Response.registeredForWrite:Z
3: aload 0
getfield org.apache.coyote.Response.fireListener:Z
ifeq 6
4: aload 0
iconst_0
putfield org.apache.coyote.Response.fireListener:Z
5: iconst_1
istore 1
6: StackMap locals: int java.lang.Object
StackMap stack:
aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
iload 1
ifeq 12
11: aload 0
getfield org.apache.coyote.Response.listener:Ljavax/servlet/WriteListener;
invokeinterface javax.servlet.WriteListener.onWritePossible:()V
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/coyote/Response;
1 13 1 fire Z
Exception table:
from to target type
2 7 8 any
8 9 8 any
Exceptions:
throws java.io.IOException
}
SourceFile: "Response.java"