public final class org.apache.catalina.util.RequestUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.util.RequestUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/RequestUtil;
public static java.lang.StringBuffer getRequestURL(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/StringBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface javax.servlet.http.HttpServletRequest.getScheme:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
invokeinterface javax.servlet.http.HttpServletRequest.getServerPort:()I
istore 3
start local 3 3: iload 3
ifge 5
4: bipush 80
istore 3
5: StackMap locals: java.lang.StringBuffer java.lang.String int
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: aload 1
ldc "://"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
7: aload 1
aload 0
invokeinterface javax.servlet.http.HttpServletRequest.getServerName:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: aload 2
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
iload 3
bipush 80
if_icmpne 10
9: StackMap locals:
StackMap stack:
aload 2
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
iload 3
sipush 443
if_icmpeq 12
10: StackMap locals:
StackMap stack:
aload 1
bipush 58
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
11: aload 1
iload 3
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
12: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface javax.servlet.http.HttpServletRequest.getRequestURI:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
13: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 request Ljavax/servlet/http/HttpServletRequest;
1 14 1 url Ljava/lang/StringBuffer;
2 14 2 scheme Ljava/lang/String;
3 14 3 port I
MethodParameters:
Name Flags
request
}
SourceFile: "RequestUtil.java"