public class org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext implements org.apache.tomcat.util.http.fileupload.UploadContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext
super_class: java.lang.Object
{
private final jakarta.servlet.http.HttpServletRequest request;
descriptor: Ljakarta/servlet/http/HttpServletRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jakarta.servlet.http.HttpServletRequest);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.request:Ljakarta/servlet/http/HttpServletRequest;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext;
0 3 1 request Ljakarta/servlet/http/HttpServletRequest;
MethodParameters:
Name Flags
request
public java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.request:Ljakarta/servlet/http/HttpServletRequest;
invokeinterface jakarta.servlet.http.HttpServletRequest.getCharacterEncoding:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext;
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.request:Ljakarta/servlet/http/HttpServletRequest;
invokeinterface jakarta.servlet.http.HttpServletRequest.getContentType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext;
public long contentLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.request:Ljakarta/servlet/http/HttpServletRequest;
ldc "Content-length"
invokeinterface jakarta.servlet.http.HttpServletRequest.getHeader:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 1
start local 1 1: goto 4
end local 1 StackMap locals:
StackMap stack: java.lang.NumberFormatException
2: pop
3: aload 0
getfield org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.request:Ljakarta/servlet/http/HttpServletRequest;
invokeinterface jakarta.servlet.http.HttpServletRequest.getContentLength:()I
i2l
lstore 1
start local 1 4: StackMap locals: long
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext;
1 2 1 size J
4 5 1 size J
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.request:Ljakarta/servlet/http/HttpServletRequest;
invokeinterface jakarta.servlet.http.HttpServletRequest.getInputStream:()Ljakarta/servlet/ServletInputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext;
Exceptions:
throws java.io.IOException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "ContentLength=%s, ContentType=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.contentLength:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
2: aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.servlet.ServletRequestContext.getContentType:()Ljava/lang/String;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/http/fileupload/servlet/ServletRequestContext;
}
SourceFile: "ServletRequestContext.java"