public class org.apache.catalina.connector.Response implements javax.servlet.http.HttpServletResponse
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.connector.Response
super_class: java.lang.Object
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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
private static final org.apache.tomcat.util.http.parser.MediaTypeCache MEDIA_TYPE_CACHE;
descriptor: Lorg/apache/tomcat/util/http/parser/MediaTypeCache;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean ENFORCE_ENCODING_IN_GET_WRITER;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected java.text.SimpleDateFormat format;
descriptor: Ljava/text/SimpleDateFormat;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
java.lang.Deprecated()
protected org.apache.coyote.Response coyoteResponse;
descriptor: Lorg/apache/coyote/Response;
flags: (0x0004) ACC_PROTECTED
protected final org.apache.catalina.connector.OutputBuffer outputBuffer;
descriptor: Lorg/apache/catalina/connector/OutputBuffer;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected org.apache.catalina.connector.CoyoteOutputStream outputStream;
descriptor: Lorg/apache/catalina/connector/CoyoteOutputStream;
flags: (0x0004) ACC_PROTECTED
protected org.apache.catalina.connector.CoyoteWriter writer;
descriptor: Lorg/apache/catalina/connector/CoyoteWriter;
flags: (0x0004) ACC_PROTECTED
protected boolean appCommitted;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean included;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private boolean isCharacterEncodingSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected boolean usingOutputStream;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean usingWriter;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected final org.apache.tomcat.util.buf.UEncoder urlEncoder;
descriptor: Lorg/apache/tomcat/util/buf/UEncoder;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.apache.tomcat.util.buf.CharChunk redirectURLCC;
descriptor: Lorg/apache/tomcat/util/buf/CharChunk;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final java.util.List<javax.servlet.http.Cookie> cookies;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljavax/servlet/http/Cookie;>;
private javax.servlet.http.HttpServletResponse applicationResponse;
descriptor: Ljavax/servlet/http/HttpServletResponse;
flags: (0x0002) ACC_PRIVATE
protected org.apache.catalina.connector.Request request;
descriptor: Lorg/apache/catalina/connector/Request;
flags: (0x0004) ACC_PROTECTED
protected org.apache.catalina.connector.ResponseFacade facade;
descriptor: Lorg/apache/catalina/connector/ResponseFacade;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/apache/catalina/connector/Response;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.connector.Response.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/connector/Response;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
2: new org.apache.tomcat.util.http.parser.MediaTypeCache
dup
bipush 100
invokespecial org.apache.tomcat.util.http.parser.MediaTypeCache.<init>:(I)V
putstatic org.apache.catalina.connector.Response.MEDIA_TYPE_CACHE:Lorg/apache/tomcat/util/http/parser/MediaTypeCache;
3: ldc "org.apache.catalina.connector.Response.ENFORCE_ENCODING_IN_GET_WRITER"
4: ldc "true"
5: invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
6: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic org.apache.catalina.connector.Response.ENFORCE_ENCODING_IN_GET_WRITER:Z
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 8192
invokespecial org.apache.catalina.connector.Response.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.format:Ljava/text/SimpleDateFormat;
2: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.appCommitted:Z
3: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.included:Z
4: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.isCharacterEncodingSet:Z
5: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingOutputStream:Z
6: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingWriter:Z
7: aload 0
new org.apache.tomcat.util.buf.UEncoder
dup
getstatic org.apache.tomcat.util.buf.UEncoder$SafeCharsSet.WITH_SLASH:Lorg/apache/tomcat/util/buf/UEncoder$SafeCharsSet;
invokespecial org.apache.tomcat.util.buf.UEncoder.<init>:(Lorg/apache/tomcat/util/buf/UEncoder$SafeCharsSet;)V
putfield org.apache.catalina.connector.Response.urlEncoder:Lorg/apache/tomcat/util/buf/UEncoder;
8: aload 0
new org.apache.tomcat.util.buf.CharChunk
dup
invokespecial org.apache.tomcat.util.buf.CharChunk.<init>:()V
putfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
9: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.connector.Response.cookies:Ljava/util/List;
10: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.applicationResponse:Ljavax/servlet/http/HttpServletResponse;
11: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
12: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
13: aload 0
new org.apache.catalina.connector.OutputBuffer
dup
iload 1
invokespecial org.apache.catalina.connector.OutputBuffer.<init>:(I)V
putfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/connector/Response;
0 15 1 outputBufferSize I
MethodParameters:
Name Flags
outputBufferSize
public void setCoyoteResponse(org.apache.coyote.Response);
descriptor: (Lorg/apache/coyote/Response;)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.catalina.connector.Response.coyoteResponse:Lorg/apache/coyote/Response;
1: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
aload 1
invokevirtual org.apache.catalina.connector.OutputBuffer.setResponse:(Lorg/apache/coyote/Response;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/connector/Response;
0 3 1 coyoteResponse Lorg/apache/coyote/Response;
MethodParameters:
Name Flags
coyoteResponse
public org.apache.coyote.Response getCoyoteResponse();
descriptor: ()Lorg/apache/coyote/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.coyoteResponse:Lorg/apache/coyote/Response;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public org.apache.catalina.Context getContext();
descriptor: ()Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getContext:()Lorg/apache/catalina/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.cookies:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.recycle:()V
2: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingOutputStream:Z
3: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingWriter:Z
4: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.appCommitted:Z
5: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.included:Z
6: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.isCharacterEncodingSet:Z
7: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.applicationResponse:Ljavax/servlet/http/HttpServletResponse;
8: getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
ifne 9
getstatic org.apache.catalina.connector.Connector.RECYCLE_FACADES:Z
ifeq 19
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
ifnull 12
10: aload 0
getfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
invokevirtual org.apache.catalina.connector.ResponseFacade.clear:()V
11: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.outputStream:Lorg/apache/catalina/connector/CoyoteOutputStream;
ifnull 15
13: aload 0
getfield org.apache.catalina.connector.Response.outputStream:Lorg/apache/catalina/connector/CoyoteOutputStream;
invokevirtual org.apache.catalina.connector.CoyoteOutputStream.clear:()V
14: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.outputStream:Lorg/apache/catalina/connector/CoyoteOutputStream;
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
ifnull 21
16: aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
invokevirtual org.apache.catalina.connector.CoyoteWriter.clear:()V
17: aload 0
aconst_null
putfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
18: goto 21
StackMap locals:
StackMap stack:
19: aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
ifnull 21
20: aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
invokevirtual org.apache.catalina.connector.CoyoteWriter.recycle:()V
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/catalina/connector/Response;
public java.util.List<javax.servlet.http.Cookie> getCookies();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.cookies:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
Signature: ()Ljava/util/List<Ljavax/servlet/http/Cookie;>;
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.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.getContentWritten:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public long getBytesWritten(boolean);
descriptor: (Z)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 4
1: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.flush:()V
2: goto 4
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
iload 1
invokevirtual org.apache.coyote.Response.getBytesWritten:(Z)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/connector/Response;
0 5 1 flush Z
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
flush
public void setAppCommitted(boolean);
descriptor: (Z)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.catalina.connector.Response.appCommitted:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 appCommitted Z
MethodParameters:
Name Flags
appCommitted
public boolean isAppCommitted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.appCommitted:Z
ifne 5
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifne 5
aload 0
invokevirtual org.apache.catalina.connector.Response.isSuspended:()Z
ifne 5
1: aload 0
invokevirtual org.apache.catalina.connector.Response.getContentLength:()I
ifle 4
2: aload 0
invokevirtual org.apache.catalina.connector.Response.getContentWritten:()J
aload 0
invokevirtual org.apache.catalina.connector.Response.getContentLength:()I
i2l
3: lcmp
ifge 5
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/connector/Response;
public org.apache.catalina.connector.Request getRequest();
descriptor: ()Lorg/apache/catalina/connector/Request;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public void setRequest(org.apache.catalina.connector.Request);
descriptor: (Lorg/apache/catalina/connector/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.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 request Lorg/apache/catalina/connector/Request;
MethodParameters:
Name Flags
request
public javax.servlet.http.HttpServletResponse getResponse();
descriptor: ()Ljavax/servlet/http/HttpServletResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
ifnonnull 2
1: aload 0
new org.apache.catalina.connector.ResponseFacade
dup
aload 0
invokespecial org.apache.catalina.connector.ResponseFacade.<init>:(Lorg/apache/catalina/connector/Response;)V
putfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.applicationResponse:Ljavax/servlet/http/HttpServletResponse;
ifnonnull 4
3: aload 0
aload 0
getfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
putfield org.apache.catalina.connector.Response.applicationResponse:Ljavax/servlet/http/HttpServletResponse;
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.applicationResponse:Ljavax/servlet/http/HttpServletResponse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/connector/Response;
public void setResponse(javax.servlet.http.HttpServletResponse);
descriptor: (Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: goto 3
2: StackMap locals: javax.servlet.ServletResponse
StackMap stack:
aload 2
checkcast javax.servlet.http.HttpServletResponseWrapper
invokevirtual javax.servlet.http.HttpServletResponseWrapper.getResponse:()Ljavax/servlet/ServletResponse;
astore 2
3: StackMap locals:
StackMap stack:
aload 2
instanceof javax.servlet.http.HttpServletResponseWrapper
ifne 2
4: aload 2
aload 0
getfield org.apache.catalina.connector.Response.facade:Lorg/apache/catalina/connector/ResponseFacade;
if_acmpeq 6
5: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.illegalWrap"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.connector.Response.applicationResponse:Ljavax/servlet/http/HttpServletResponse;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/connector/Response;
0 8 1 applicationResponse Ljavax/servlet/http/HttpServletResponse;
1 8 2 r Ljavax/servlet/ServletResponse;
MethodParameters:
Name Flags
applicationResponse
public void setSuspended(boolean);
descriptor: (Z)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.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
iload 1
invokevirtual org.apache.catalina.connector.OutputBuffer.setSuspended:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 suspended Z
MethodParameters:
Name Flags
suspended
public boolean isSuspended();
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.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.isSuspended:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public boolean isClosed();
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.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.isClosed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public boolean setError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.setError:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public boolean isError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.isError:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public boolean isErrorReportRequired();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.isErrorReportRequired:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public boolean setErrorReported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.setErrorReported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public void finishResponse();
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.Response.outputBuffer: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/Response;
Exceptions:
throws java.io.IOException
public int getContentLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getContentLength:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
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
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getContentType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public java.io.PrintWriter getReporter();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.isNew:()Z
ifeq 5
1: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.checkConverter:()V
2: aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
ifnonnull 4
3: aload 0
new org.apache.catalina.connector.CoyoteWriter
dup
aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokespecial org.apache.catalina.connector.CoyoteWriter.<init>:(Lorg/apache/catalina/connector/OutputBuffer;)V
putfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/connector/Response;
Exceptions:
throws java.io.IOException
public void flushBuffer();
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.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
Exceptions:
throws java.io.IOException
public int getBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.getBufferSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getCharacterEncoding:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
astore 2
start local 2 4: aconst_null
astore 3
start local 3 5: aload 2
ifnull 7
6: aload 2
invokeinterface org.apache.catalina.Context.getResponseCharacterEncoding:()Ljava/lang/String;
astore 3
7: StackMap locals: org.apache.catalina.Context java.lang.String
StackMap stack:
aload 3
ifnonnull 9
8: getstatic org.apache.coyote.Constants.DEFAULT_BODY_CHARSET:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
astore 3
9: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/connector/Response;
1 10 1 charset Ljava/lang/String;
4 10 2 context Lorg/apache/catalina/Context;
5 10 3 result Ljava/lang/String;
public javax.servlet.ServletOutputStream getOutputStream();
descriptor: ()Ljavax/servlet/ServletOutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.usingWriter:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.getOutputStream.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.catalina.connector.Response.usingOutputStream:Z
5: aload 0
getfield org.apache.catalina.connector.Response.outputStream:Lorg/apache/catalina/connector/CoyoteOutputStream;
ifnonnull 7
6: aload 0
new org.apache.catalina.connector.CoyoteOutputStream
dup
aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokespecial org.apache.catalina.connector.CoyoteOutputStream.<init>:(Lorg/apache/catalina/connector/OutputBuffer;)V
putfield org.apache.catalina.connector.Response.outputStream:Lorg/apache/catalina/connector/CoyoteOutputStream;
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.outputStream:Lorg/apache/catalina/connector/CoyoteOutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/connector/Response;
Exceptions:
throws java.io.IOException
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
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getLocale:()Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public java.io.PrintWriter getWriter();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.connector.Response.usingOutputStream:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.getWriter.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.connector.Response.ENFORCE_ENCODING_IN_GET_WRITER:Z
ifeq 6
5: aload 0
aload 0
invokevirtual org.apache.catalina.connector.Response.getCharacterEncoding:()Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.setCharacterEncoding:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.catalina.connector.Response.usingWriter:Z
7: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.checkConverter:()V
8: aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
ifnonnull 10
9: aload 0
new org.apache.catalina.connector.CoyoteWriter
dup
aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokespecial org.apache.catalina.connector.CoyoteWriter.<init>:(Lorg/apache/catalina/connector/OutputBuffer;)V
putfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.writer:Lorg/apache/catalina/connector/CoyoteWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/connector/Response;
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
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.isCommitted:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/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.catalina.connector.Response.included:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.reset:()V
3: aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.reset:()V
4: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingOutputStream:Z
5: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingWriter:Z
6: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.isCharacterEncodingSet:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/connector/Response;
public void resetBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.catalina.connector.Response.resetBuffer:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
public void resetBuffer(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.resetBuffer.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
iload 1
invokevirtual org.apache.catalina.connector.OutputBuffer.reset:(Z)V
5: iload 1
ifeq 9
6: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingOutputStream:Z
7: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.usingWriter:Z
8: aload 0
iconst_0
putfield org.apache.catalina.connector.Response.isCharacterEncodingSet:Z
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/connector/Response;
0 10 1 resetWriterStreamFlags Z
MethodParameters:
Name Flags
resetWriterStreamFlags
public void setBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifne 1
aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
invokevirtual org.apache.catalina.connector.OutputBuffer.isNew:()Z
ifne 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.setBufferSize.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.outputBuffer:Lorg/apache/catalina/connector/OutputBuffer;
iload 1
invokevirtual org.apache.catalina.connector.OutputBuffer.setBufferSize:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/connector/Response;
0 6 1 size I
MethodParameters:
Name Flags
size
public void setContentLength(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
iload 1
i2l
invokevirtual org.apache.catalina.connector.Response.setContentLengthLong:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 length I
MethodParameters:
Name Flags
length
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
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
lload 1
invokevirtual org.apache.coyote.Response.setContentLength:(J)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/connector/Response;
0 6 1 length J
MethodParameters:
Name Flags
length
public void setContentType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 7
5: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aconst_null
invokevirtual org.apache.coyote.Response.setContentType:(Ljava/lang/String;)V
6: return
7: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.connector.Response.MEDIA_TYPE_CACHE:Lorg/apache/tomcat/util/http/parser/MediaTypeCache;
aload 1
invokevirtual org.apache.tomcat.util.http.parser.MediaTypeCache.parse:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 8: aload 2
ifnonnull 11
9: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 1
invokevirtual org.apache.coyote.Response.setContentTypeNoCharset:(Ljava/lang/String;)V
10: return
11: StackMap locals: java.lang.String[]
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 2
iconst_0
aaload
invokevirtual org.apache.coyote.Response.setContentTypeNoCharset:(Ljava/lang/String;)V
12: aload 2
iconst_1
aaload
ifnull 19
13: aload 0
getfield org.apache.catalina.connector.Response.usingWriter:Z
ifne 19
14: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 2
iconst_1
aaload
invokevirtual org.apache.coyote.Response.setCharacterEncoding:(Ljava/lang/String;)V
15: goto 18
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
16: astore 3
start local 3 17: getstatic org.apache.catalina.connector.Response.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.encoding.invalid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
iconst_1
aaload
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.catalina.connector.Response.isCharacterEncodingSet:Z
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/connector/Response;
0 20 1 type Ljava/lang/String;
8 20 2 m [Ljava/lang/String;
17 18 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
14 15 16 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
type
public void setCharacterEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.usingWriter:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 1
invokevirtual org.apache.coyote.Response.setCharacterEncoding:(Ljava/lang/String;)V
7: goto 11
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
8: astore 2
start local 2 9: getstatic org.apache.catalina.connector.Response.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.encoding.invalid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: return
end local 2 11: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.catalina.connector.Response.isCharacterEncodingSet:Z
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/connector/Response;
0 13 1 charset Ljava/lang/String;
9 11 2 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
6 7 8 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
charset
public void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 1
invokevirtual org.apache.coyote.Response.setLocale:(Ljava/util/Locale;)V
5: aload 0
getfield org.apache.catalina.connector.Response.usingWriter:Z
ifeq 7
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.isCharacterEncodingSet:Z
ifeq 9
8: return
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
astore 2
start local 2 10: aload 2
ifnull 17
11: aload 2
aload 1
invokeinterface org.apache.catalina.Context.getCharset:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 12: aload 3
ifnull 17
13: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 3
invokevirtual org.apache.coyote.Response.setCharacterEncoding:(Ljava/lang/String;)V
14: goto 17
StackMap locals: org.apache.catalina.connector.Response java.util.Locale org.apache.catalina.Context java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
15: astore 4
start local 4 16: getstatic org.apache.catalina.connector.Response.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.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 end local 3 17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/connector/Response;
0 18 1 locale Ljava/util/Locale;
10 18 2 context Lorg/apache/catalina/Context;
12 17 3 charset Ljava/lang/String;
16 17 4 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
13 14 15 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
locale
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getMimeHeaders:()Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Collection<java.lang.String> getHeaderNames();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getMimeHeaders:()Lorg/apache/tomcat/util/http/MimeHeaders;
astore 1
start local 1 1: aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.size:()I
istore 2
start local 2 2: new java.util.ArrayList
dup
iload 2
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: org.apache.catalina.connector.Response org.apache.tomcat.util.http.MimeHeaders int java.util.List int
StackMap stack:
aload 3
aload 1
iload 4
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getName:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 2
if_icmplt 5
end local 4 8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/connector/Response;
1 9 1 headers Lorg/apache/tomcat/util/http/MimeHeaders;
2 9 2 n I
3 9 3 result Ljava/util/List<Ljava/lang/String;>;
4 8 4 i I
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public java.util.Collection<java.lang.String> getHeaders(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getMimeHeaders:()Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.values:(Ljava/lang/String;)Ljava/util/Enumeration;
1: astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: goto 5
4: StackMap locals: java.util.Enumeration java.util.List
StackMap stack:
aload 3
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/connector/Response;
0 7 1 name Ljava/lang/String;
2 7 2 enumeration Ljava/util/Enumeration<Ljava/lang/String;>;
3 7 3 result Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
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
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getMessage:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getStatus:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
public void addCookie(javax.servlet.http.Cookie);
descriptor: (Ljavax/servlet/http/Cookie;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifne 1
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.cookies:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.generateCookieString:(Ljavax/servlet/http/Cookie;)Ljava/lang/String;
astore 2
start local 2 4: aload 0
ldc "Set-Cookie"
aload 2
aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getCookieProcessor:()Lorg/apache/tomcat/util/http/CookieProcessor;
invokeinterface org.apache.tomcat.util.http.CookieProcessor.getCharset:()Ljava/nio/charset/Charset;
invokevirtual org.apache.catalina.connector.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/connector/Response;
0 6 1 cookie Ljavax/servlet/http/Cookie;
4 6 2 header Ljava/lang/String;
MethodParameters:
Name Flags
cookie final
public void addSessionCookieInternal(javax.servlet.http.Cookie);
descriptor: (Ljavax/servlet/http/Cookie;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.servlet.http.Cookie.getName:()Ljava/lang/String;
astore 2
start local 2 3: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 4: aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.generateCookieString:(Ljavax/servlet/http/Cookie;)Ljava/lang/String;
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getMimeHeaders:()Lorg/apache/tomcat/util/http/MimeHeaders;
astore 6
start local 6 7: aload 6
invokevirtual org.apache.tomcat.util.http.MimeHeaders.size:()I
istore 7
start local 7 8: iconst_0
istore 8
start local 8 9: goto 15
10: StackMap locals: org.apache.catalina.connector.Response javax.servlet.http.Cookie java.lang.String java.lang.String java.lang.String int org.apache.tomcat.util.http.MimeHeaders int int
StackMap stack:
aload 6
iload 8
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getName:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
ldc "Set-Cookie"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
11: aload 6
iload 8
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getValue:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
12: aload 6
iload 8
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getValue:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
aload 4
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
13: iconst_1
istore 5
14: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
iload 7
if_icmplt 10
end local 8 16: iload 5
ifne 18
17: aload 0
ldc "Set-Cookie"
aload 4
invokevirtual org.apache.catalina.connector.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
return
end local 7 end local 6 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 19 0 this Lorg/apache/catalina/connector/Response;
0 19 1 cookie Ljavax/servlet/http/Cookie;
3 19 2 name Ljava/lang/String;
4 19 3 startsWith Ljava/lang/String;
5 19 4 header Ljava/lang/String;
6 19 5 set Z
7 19 6 headers Lorg/apache/tomcat/util/http/MimeHeaders;
8 19 7 n I
9 16 8 i I
MethodParameters:
Name Flags
cookie final
public java.lang.String generateCookieString(javax.servlet.http.Cookie);
descriptor: (Ljavax/servlet/http/Cookie;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 3
1: new org.apache.catalina.connector.Response$PrivilegedGenerateCookieString
dup
aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
aload 1
invokespecial org.apache.catalina.connector.Response$PrivilegedGenerateCookieString.<init>:(Lorg/apache/catalina/Context;Ljavax/servlet/http/Cookie;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getCookieProcessor:()Lorg/apache/tomcat/util/http/CookieProcessor;
aload 1
invokeinterface org.apache.tomcat.util.http.CookieProcessor.generateHeader:(Ljavax/servlet/http/Cookie;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/connector/Response;
0 4 1 cookie Ljavax/servlet/http/Cookie;
MethodParameters:
Name Flags
cookie final
public void (java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
invokestatic org.apache.tomcat.util.http.FastHttpDateFormat.formatDate:(J)Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/connector/Response;
0 8 1 name Ljava/lang/String;
0 8 2 value J
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.catalina.connector.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/catalina/connector/Response;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
private void (java.lang.String, java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifeq 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 7: iload 4
bipush 67
if_icmpeq 8
iload 4
bipush 99
if_icmpne 10
8: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.connector.Response.checkSpecialHeader:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 10
9: return
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 1
aload 2
aload 3
invokevirtual org.apache.coyote.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/connector/Response;
0 12 1 name Ljava/lang/String;
0 12 2 value Ljava/lang/String;
0 12 3 charset Ljava/nio/charset/Charset;
7 12 4 cc C
MethodParameters:
Name Flags
name
value
charset
private boolean (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, 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.catalina.connector.Response.setContentType:(Ljava/lang/String;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/connector/Response;
0 4 1 name Ljava/lang/String;
0 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void (java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/connector/Response;
0 8 1 name Ljava/lang/String;
0 8 2 value I
MethodParameters:
Name Flags
name
value
public boolean (java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 1: iload 2
bipush 67
if_icmpeq 2
iload 2
bipush 99
if_icmpne 8
2: StackMap locals: int
StackMap stack:
aload 1
ldc "Content-Type"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getContentType:()Ljava/lang/String;
ifnull 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
ldc "Content-Length"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getContentLengthLong:()J
ldc -1
lcmp
ifeq 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 1
invokevirtual org.apache.coyote.Response.containsHeader:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/connector/Response;
0 9 1 name Ljava/lang/String;
1 9 2 cc C
MethodParameters:
Name Flags
name
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 1
invokevirtual org.apache.coyote.Response.setTrailerFields:(Ljava/util/function/Supplier;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 supplier Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
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
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
invokevirtual org.apache.coyote.Response.getTrailerFields:()Ljava/util/function/Supplier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
Signature: ()Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
public java.lang.String encodeRedirectURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.toAbsolute:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.isEncodeable:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getSessionInternal:()Lorg/apache/catalina/Session;
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.toEncoded:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/connector/Response;
0 3 1 url Ljava/lang/String;
MethodParameters:
Name Flags
url
public java.lang.String encodeRedirectUrl(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.encodeRedirectURL:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
0 1 1 url Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
url
public java.lang.String encodeURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.toAbsolute:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
2: pop
3: aload 1
areturn
start local 2 4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.catalina.connector.Response.isEncodeable:(Ljava/lang/String;)Z
ifeq 11
5: aload 1
ldc ""
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 2
astore 1
7: goto 10
StackMap locals:
StackMap stack:
8: aload 1
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.hasPath:(Ljava/lang/String;)Z
ifne 10
9: 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
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getSessionInternal:()Lorg/apache/catalina/Session;
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.toEncoded:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/connector/Response;
0 12 1 url Ljava/lang/String;
1 2 2 absolute Ljava/lang/String;
4 12 2 absolute Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
url
public java.lang.String encodeUrl(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.encodeURL:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/connector/Response;
0 1 1 url Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
url
public void sendAcknowledgement();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
getstatic org.apache.coyote.ActionCode.ACK:Lorg/apache/coyote/ActionCode;
aconst_null
invokevirtual org.apache.coyote.Response.action:(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/connector/Response;
Exceptions:
throws java.io.IOException
public void sendError(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
iload 1
aconst_null
invokevirtual org.apache.catalina.connector.Response.sendError:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 status I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
status
public void sendError(int, java.lang.String);
descriptor: (ILjava/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
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.sendError.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.setError:()Z
pop
7: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
iload 1
invokevirtual org.apache.coyote.Response.setStatus:(I)V
8: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 2
invokevirtual org.apache.coyote.Response.setMessage:(Ljava/lang/String;)V
9: aload 0
invokevirtual org.apache.catalina.connector.Response.resetBuffer:()V
10: aload 0
iconst_1
invokevirtual org.apache.catalina.connector.Response.setSuspended:(Z)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/connector/Response;
0 12 1 status I
0 12 2 message Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
status
message
public void sendRedirect(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 302
invokevirtual org.apache.catalina.connector.Response.sendRedirect:(Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 location Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
location
public void sendRedirect(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.sendRedirect.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.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 org.apache.catalina.connector.Response.included:Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual org.apache.catalina.connector.Response.resetBuffer:(Z)V
5: aload 0
invokevirtual org.apache.catalina.connector.Response.getRequest:()Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getCoyoteRequest:()Lorg/apache/coyote/Request;
invokevirtual org.apache.coyote.Request.getSupportsRelativeRedirects:()Z
ifeq 9
6: aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getUseRelativeRedirects:()Z
ifeq 9
7: aload 1
astore 3
start local 3 8: goto 10
end local 3 9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.connector.Response.toAbsolute:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 10: StackMap locals: java.lang.String
StackMap stack:
aload 0
iload 2
invokevirtual org.apache.catalina.connector.Response.setStatus:(I)V
11: aload 0
ldc "Location"
aload 3
invokevirtual org.apache.catalina.connector.Response.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
12: aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getSendRedirectBody:()Z
ifeq 22
13: aload 0
invokevirtual org.apache.catalina.connector.Response.getWriter:()Ljava/io/PrintWriter;
astore 4
start local 4 14: aload 4
getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "coyoteResponse.sendRedirect.note"
iconst_1
anewarray java.lang.Object
dup
iconst_0
15: aload 3
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
17: aload 0
invokevirtual org.apache.catalina.connector.Response.flushBuffer:()V
end local 4 end local 3 18: goto 22
StackMap locals: org.apache.catalina.connector.Response java.lang.String int
StackMap stack: java.lang.IllegalArgumentException
19: astore 3
start local 3 20: getstatic org.apache.catalina.connector.Response.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.connector.Response.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "response.sendRedirectFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
21: aload 0
sipush 404
invokevirtual org.apache.catalina.connector.Response.setStatus:(I)V
end local 3 22: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual org.apache.catalina.connector.Response.setSuspended:(Z)V
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/catalina/connector/Response;
0 24 1 location Ljava/lang/String;
0 24 2 status I
8 9 3 locationUri Ljava/lang/String;
10 18 3 locationUri Ljava/lang/String;
14 18 4 writer Ljava/io/PrintWriter;
20 22 3 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
5 18 19 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
location
status
public void (java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
invokestatic org.apache.tomcat.util.http.FastHttpDateFormat.formatDate:(J)Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/connector/Response;
0 8 1 name Ljava/lang/String;
0 8 2 value J
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=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifeq 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 7: iload 3
bipush 67
if_icmpeq 8
iload 3
bipush 99
if_icmpne 10
8: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.connector.Response.checkSpecialHeader:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 10
9: return
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 1
aload 2
invokevirtual org.apache.coyote.Response.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/connector/Response;
0 12 1 name Ljava/lang/String;
0 12 2 value Ljava/lang/String;
7 12 3 cc C
MethodParameters:
Name Flags
name
value
public void (java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.connector.Response.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/connector/Response;
0 8 1 name Ljava/lang/String;
0 8 2 value I
MethodParameters:
Name Flags
name
value
public void setStatus(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
iload 1
aconst_null
invokevirtual org.apache.catalina.connector.Response.setStatus:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 status I
MethodParameters:
Name Flags
status
public void setStatus(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.catalina.connector.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.included:Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
iload 1
invokevirtual org.apache.coyote.Response.setStatus:(I)V
5: aload 0
invokevirtual org.apache.catalina.connector.Response.getCoyoteResponse:()Lorg/apache/coyote/Response;
aload 2
invokevirtual org.apache.coyote.Response.setMessage:(Ljava/lang/String;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/connector/Response;
0 7 1 status I
0 7 2 message Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
status
message
protected boolean isEncodeable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
astore 2
start local 2 5: aload 2
iconst_0
invokevirtual org.apache.catalina.connector.Request.getSessionInternal:(Z)Lorg/apache/catalina/Session;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: iconst_0
ireturn
8: StackMap locals: org.apache.catalina.connector.Request org.apache.catalina.Session
StackMap stack:
aload 2
invokevirtual org.apache.catalina.connector.Request.isRequestedSessionIdFromCookie:()Z
ifeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.connector.Request.getServletContext:()Ljavax/servlet/ServletContext;
invokeinterface javax.servlet.ServletContext.getEffectiveSessionTrackingModes:()Ljava/util/Set;
11: getstatic javax.servlet.SessionTrackingMode.URL:Ljavax/servlet/SessionTrackingMode;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 17
14: new org.apache.catalina.connector.Response$PrivilegedDoIsEncodable
dup
aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
aload 2
aload 3
aload 1
invokespecial org.apache.catalina.connector.Response$PrivilegedDoIsEncodable.<init>:(Lorg/apache/catalina/Context;Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/Session;Ljava/lang/String;)V
15: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 4
start local 4 16: aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 4 17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.connector.Response.getContext:()Lorg/apache/catalina/Context;
aload 2
aload 3
aload 1
invokestatic org.apache.catalina.connector.Response.doIsEncodeable:(Lorg/apache/catalina/Context;Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/Session;Ljava/lang/String;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/connector/Response;
0 18 1 location Ljava/lang/String;
5 18 2 hreq Lorg/apache/catalina/connector/Request;
6 18 3 session Lorg/apache/catalina/Session;
16 17 4 result Ljava/lang/Boolean;
MethodParameters:
Name Flags
location final
private static boolean doIsEncodeable(org.apache.catalina.Context, org.apache.catalina.connector.Request, org.apache.catalina.Session, java.lang.String);
descriptor: (Lorg/apache/catalina/Context;Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/Session;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: new java.net.URL
dup
aload 3
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 4
2: goto 5
StackMap locals: org.apache.catalina.Context org.apache.catalina.connector.Request org.apache.catalina.Session java.lang.String java.net.URL
StackMap stack: java.net.MalformedURLException
3: pop
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.catalina.connector.Request.getScheme:()Ljava/lang/String;
aload 4
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.catalina.connector.Request.getServerName:()Ljava/lang/String;
aload 4
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.catalina.connector.Request.getServerPort:()I
istore 5
start local 5 10: iload 5
iconst_m1
if_icmpne 15
11: ldc "https"
aload 1
invokevirtual org.apache.catalina.connector.Request.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: sipush 443
istore 5
13: goto 15
14: StackMap locals: int
StackMap stack:
bipush 80
istore 5
15: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.net.URL.getPort:()I
istore 6
start local 6 16: iload 6
iconst_m1
if_icmpne 21
17: ldc "https"
aload 4
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: sipush 443
istore 6
19: goto 21
20: StackMap locals: int
StackMap stack:
bipush 80
istore 6
21: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmpeq 23
22: iconst_0
ireturn
23: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.apache.catalina.Context.getPath:()Ljava/lang/String;
astore 7
start local 7 24: aload 7
ifnull 33
25: aload 4
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 8
start local 8 26: aload 8
aload 7
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 28
27: iconst_0
ireturn
28: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc ";"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokestatic org.apache.catalina.util.SessionConfig.getSessionUriParamName:(Lorg/apache/catalina/Context;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: aload 2
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 31: aload 8
aload 9
aload 7
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iflt 33
32: iconst_0
ireturn
end local 9 end local 8 33: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 7 end local 6 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 34 0 context Lorg/apache/catalina/Context;
0 34 1 hreq Lorg/apache/catalina/connector/Request;
0 34 2 session Lorg/apache/catalina/Session;
0 34 3 location Ljava/lang/String;
1 34 4 url Ljava/net/URL;
10 34 5 serverPort I
16 34 6 urlPort I
24 34 7 contextPath Ljava/lang/String;
26 33 8 file Ljava/lang/String;
31 33 9 tok Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.net.MalformedURLException
MethodParameters:
Name Flags
context
hreq
session
location
protected java.lang.String toAbsolute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 2
start local 2 3: aload 1
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
4: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
invokevirtual org.apache.tomcat.util.buf.CharChunk.recycle:()V
5: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getScheme:()Ljava/lang/String;
astore 3
start local 3 6: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
7: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
bipush 58
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(C)V
8: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
9: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
invokevirtual org.apache.tomcat.util.buf.CharChunk.toString:()Ljava/lang/String;
10: areturn
11: StackMap locals: org.apache.catalina.connector.Response java.lang.String int java.lang.String
StackMap stack: java.io.IOException
astore 4
start local 4 12: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
13: astore 5
start local 5 14: aload 5
aload 4
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
15: aload 5
athrow
end local 5 end local 4 end local 3 16: StackMap locals:
StackMap stack:
iload 2
ifne 17
aload 1
invokestatic org.apache.tomcat.util.buf.UriUtil.hasScheme:(Ljava/lang/CharSequence;)Z
ifne 55
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
invokevirtual org.apache.tomcat.util.buf.CharChunk.recycle:()V
18: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getScheme:()Ljava/lang/String;
astore 3
start local 3 19: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getServerName:()Ljava/lang/String;
astore 4
start local 4 20: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getServerPort:()I
istore 5
start local 5 21: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
22: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
ldc "://"
iconst_0
iconst_3
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
23: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
aload 4
iconst_0
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
24: aload 3
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
iload 5
bipush 80
if_icmpne 26
25: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 3
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
iload 5
sipush 443
if_icmpeq 29
26: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
bipush 58
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(C)V
27: new java.lang.StringBuilder
dup
iload 5
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 28: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
aload 6
iconst_0
aload 6
invokevirtual java.lang.String.length:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
end local 6 29: StackMap locals:
StackMap stack:
iload 2
ifne 46
30: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getDecodedRequestURI:()Ljava/lang/String;
astore 6
start local 6 31: aload 6
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 7
start local 7 32: aconst_null
astore 8
start local 8 33: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 42
34: new org.apache.catalina.connector.Response$PrivilgedEncodeUrl
dup
aload 0
getfield org.apache.catalina.connector.Response.urlEncoder:Lorg/apache/tomcat/util/buf/UEncoder;
aload 6
iload 7
invokespecial org.apache.catalina.connector.Response$PrivilgedEncodeUrl.<init>:(Lorg/apache/tomcat/util/buf/UEncoder;Ljava/lang/String;I)V
35: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.buf.CharChunk
astore 8
36: goto 43
StackMap locals: org.apache.catalina.connector.Response java.lang.String int java.lang.String java.lang.String int java.lang.String int org.apache.tomcat.util.buf.CharChunk
StackMap stack: java.security.PrivilegedActionException
37: astore 9
start local 9 38: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
39: astore 10
start local 10 40: aload 10
aload 9
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
41: aload 10
athrow
end local 10 end local 9 42: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.urlEncoder:Lorg/apache/tomcat/util/buf/UEncoder;
aload 6
iconst_0
iload 7
invokevirtual org.apache.tomcat.util.buf.UEncoder.encodeURL:(Ljava/lang/String;II)Lorg/apache/tomcat/util/buf/CharChunk;
astore 8
43: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
aload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Lorg/apache/tomcat/util/buf/CharChunk;)V
44: aload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.recycle:()V
45: aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
bipush 47
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(C)V
end local 8 end local 7 end local 6 46: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
47: aload 0
aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
invokevirtual org.apache.catalina.connector.Response.normalize:(Lorg/apache/tomcat/util/buf/CharChunk;)V
48: goto 54
StackMap locals:
StackMap stack: java.io.IOException
49: astore 6
start local 6 50: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
51: astore 7
start local 7 52: aload 7
aload 6
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
53: aload 7
athrow
end local 7 end local 6 54: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.connector.Response.redirectURLCC:Lorg/apache/tomcat/util/buf/CharChunk;
invokevirtual org.apache.tomcat.util.buf.CharChunk.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 55: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lorg/apache/catalina/connector/Response;
0 56 1 location Ljava/lang/String;
3 56 2 leadingSlash Z
6 16 3 scheme Ljava/lang/String;
12 16 4 e Ljava/io/IOException;
14 16 5 iae Ljava/lang/IllegalArgumentException;
19 55 3 scheme Ljava/lang/String;
20 55 4 name Ljava/lang/String;
21 55 5 port I
28 29 6 portS Ljava/lang/String;
31 46 6 relativePath Ljava/lang/String;
32 46 7 pos I
33 46 8 encodedURI Lorg/apache/tomcat/util/buf/CharChunk;
38 42 9 pae Ljava/security/PrivilegedActionException;
40 42 10 iae Ljava/lang/IllegalArgumentException;
50 54 6 e Ljava/io/IOException;
52 54 7 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
6 10 11 Class java.io.IOException
34 36 37 Class java.security.PrivilegedActionException
21 48 49 Class java.io.IOException
MethodParameters:
Name Flags
location
private void normalize(org.apache.tomcat.util.buf.CharChunk);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: aload 1
bipush 63
invokevirtual org.apache.tomcat.util.buf.CharChunk.indexOf:(C)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 3
2: aload 1
bipush 35
invokevirtual org.apache.tomcat.util.buf.CharChunk.indexOf:(C)I
istore 2
3: StackMap locals: int
StackMap stack:
aconst_null
astore 3
start local 3 4: iload 2
iconst_m1
if_icmple 9
5: aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
6: aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
iload 2
iadd
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
7: invokestatic java.util.Arrays.copyOfRange:([CII)[C
astore 3
8: aload 1
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
iload 2
iadd
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
9: StackMap locals: char[]
StackMap stack:
aload 1
ldc "/."
invokevirtual org.apache.tomcat.util.buf.CharChunk.endsWith:(Ljava/lang/String;)Z
ifne 10
aload 1
ldc "/.."
invokevirtual org.apache.tomcat.util.buf.CharChunk.endsWith:(Ljava/lang/String;)Z
ifeq 14
10: StackMap locals:
StackMap stack:
aload 1
bipush 47
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(C)V
11: goto 14
StackMap locals:
StackMap stack: java.io.IOException
12: astore 4
start local 4 13: new java.lang.IllegalArgumentException
dup
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.toString:()Ljava/lang/String;
aload 4
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 14: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getChars:()[C
astore 4
start local 4 15: aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
istore 5
start local 5 16: aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 6
start local 6 17: iconst_0
istore 7
start local 7 18: iconst_0
istore 8
start local 8 19: iconst_0
istore 9
start local 9 20: goto 23
21: StackMap locals: org.apache.catalina.connector.Response org.apache.tomcat.util.buf.CharChunk int char[] char[] int int int int int
StackMap stack:
aload 1
bipush 47
iload 8
iconst_1
iadd
invokevirtual org.apache.tomcat.util.buf.CharChunk.indexOf:(CI)I
istore 8
22: iinc 9 1
StackMap locals:
StackMap stack:
23: iload 9
iconst_3
if_icmplt 21
end local 9 24: iload 8
istore 7
25: StackMap locals:
StackMap stack:
aload 1
ldc "/./"
iconst_0
iconst_3
iload 7
invokevirtual org.apache.tomcat.util.buf.CharChunk.indexOf:(Ljava/lang/String;III)I
istore 7
26: iload 7
ifge 28
27: goto 34
28: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
iload 7
iadd
iload 5
iload 7
iadd
iconst_2
iadd
29: iload 6
iload 5
isub
iload 7
isub
iconst_2
isub
30: invokevirtual org.apache.catalina.connector.Response.copyChars:([CIII)V
31: iinc 6 -2
32: aload 1
iload 6
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
33: goto 25
34: StackMap locals:
StackMap stack:
iload 8
istore 7
35: StackMap locals:
StackMap stack:
aload 1
ldc "/../"
iconst_0
iconst_4
iload 7
invokevirtual org.apache.tomcat.util.buf.CharChunk.indexOf:(Ljava/lang/String;III)I
istore 7
36: iload 7
ifge 38
37: goto 54
38: StackMap locals:
StackMap stack:
iload 7
iload 8
if_icmpne 40
39: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
40: StackMap locals:
StackMap stack:
iconst_m1
istore 10
start local 10 41: iload 5
iload 7
iadd
iconst_1
isub
istore 9
start local 9 42: goto 46
43: StackMap locals: int int
StackMap stack:
aload 4
iload 9
caload
bipush 47
if_icmpne 45
44: iload 9
istore 10
45: StackMap locals:
StackMap stack:
iinc 9 -1
StackMap locals:
StackMap stack:
46: iload 9
iflt 47
iload 10
iflt 43
47: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
iload 10
iadd
iload 5
iload 7
iadd
iconst_3
iadd
48: iload 6
iload 5
isub
iload 7
isub
iconst_3
isub
49: invokevirtual org.apache.catalina.connector.Response.copyChars:([CIII)V
50: iload 6
iload 10
iadd
iload 7
isub
iconst_3
isub
istore 6
51: aload 1
iload 6
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
52: iload 10
istore 7
end local 10 end local 9 53: goto 35
54: StackMap locals:
StackMap stack:
aload 3
ifnull 59
55: aload 1
aload 3
iconst_0
aload 3
arraylength
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:([CII)V
56: goto 59
StackMap locals:
StackMap stack: java.io.IOException
57: astore 10
start local 10 58: new java.lang.IllegalArgumentException
dup
aload 10
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 10 59: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 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 60 0 this Lorg/apache/catalina/connector/Response;
0 60 1 cc Lorg/apache/tomcat/util/buf/CharChunk;
1 60 2 truncate I
4 60 3 truncateCC [C
13 14 4 e Ljava/io/IOException;
15 60 4 c [C
16 60 5 start I
17 60 6 end I
18 60 7 index I
19 60 8 startIndex I
20 24 9 i I
42 53 9 pos I
41 53 10 index2 I
58 59 10 ioe Ljava/io/IOException;
Exception table:
from to target type
10 11 12 Class java.io.IOException
55 56 57 Class java.io.IOException
MethodParameters:
Name Flags
cc
private void copyChars(char[], int, int, int);
descriptor: ([CIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
iload 3
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/connector/Response;
0 2 1 c [C
0 2 2 dest I
0 2 3 src I
0 2 4 len I
MethodParameters:
Name Flags
c
dest
src
len
private boolean hasPath(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "://"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 1: iload 2
ifge 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 1
bipush 47
iload 2
iconst_3
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 2
4: iload 2
ifge 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/connector/Response;
0 7 1 uri Ljava/lang/String;
1 7 2 pos I
MethodParameters:
Name Flags
uri
protected java.lang.String toEncoded(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 3: ldc ""
astore 4
start local 4 4: ldc ""
astore 5
start local 5 5: aload 1
bipush 63
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 6: iload 6
iflt 9
7: aload 1
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
8: aload 1
iload 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
9: StackMap locals: org.apache.catalina.connector.Response java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 3
bipush 35
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 10: iload 7
iflt 13
11: aload 3
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
12: aload 3
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
13: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 8
start local 8 14: aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 21
15: aload 8
ldc ";"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 8
17: aload 0
getfield org.apache.catalina.connector.Response.request:Lorg/apache/catalina/connector/Request;
invokevirtual org.apache.catalina.connector.Request.getContext:()Lorg/apache/catalina/Context;
18: invokestatic org.apache.catalina.util.SessionConfig.getSessionUriParamName:(Lorg/apache/catalina/Context;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 8
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 8
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 8
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: aload 8
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 8 end local 7 end local 6 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 24 0 this Lorg/apache/catalina/connector/Response;
0 24 1 url Ljava/lang/String;
0 24 2 sessionId Ljava/lang/String;
3 24 3 path Ljava/lang/String;
4 24 4 query Ljava/lang/String;
5 24 5 anchor Ljava/lang/String;
6 24 6 question I
10 24 7 pound I
14 24 8 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
url
sessionId
}
SourceFile: "Response.java"
NestMembers:
org.apache.catalina.connector.Response$PrivilegedDoIsEncodable org.apache.catalina.connector.Response$PrivilegedGenerateCookieString org.apache.catalina.connector.Response$PrivilgedEncodeUrl
InnerClasses:
private PrivilegedDoIsEncodable = org.apache.catalina.connector.Response$PrivilegedDoIsEncodable of org.apache.catalina.connector.Response
private PrivilegedGenerateCookieString = org.apache.catalina.connector.Response$PrivilegedGenerateCookieString of org.apache.catalina.connector.Response
private PrivilgedEncodeUrl = org.apache.catalina.connector.Response$PrivilgedEncodeUrl of org.apache.catalina.connector.Response
public final SafeCharsSet = org.apache.tomcat.util.buf.UEncoder$SafeCharsSet of org.apache.tomcat.util.buf.UEncoder