public class org.springframework.web.servlet.support.ServletUriComponentsBuilder extends org.springframework.web.util.UriComponentsBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.servlet.support.ServletUriComponentsBuilder
super_class: org.springframework.web.util.UriComponentsBuilder
{
private java.lang.String originalPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.web.util.UriComponentsBuilder.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
protected void <init>(org.springframework.web.servlet.support.ServletUriComponentsBuilder);
descriptor: (Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.web.util.UriComponentsBuilder.<init>:(Lorg/springframework/web/util/UriComponentsBuilder;)V
1: aload 0
aload 1
getfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
putfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
0 3 1 other Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
MethodParameters:
Name Flags
other
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromContextPath(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromServletMapping(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromRequestUri(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromRequest(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
request
static org.springframework.web.servlet.support.ServletUriComponentsBuilder initFromRequest(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromCurrentContextPath();
descriptor: ()Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getCurrentRequest() from the type ServletUriComponentsBuilder refers to the missing type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromCurrentServletMapping();
descriptor: ()Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getCurrentRequest() from the type ServletUriComponentsBuilder refers to the missing type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromCurrentRequestUri();
descriptor: ()Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getCurrentRequest() from the type ServletUriComponentsBuilder refers to the missing type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public static org.springframework.web.servlet.support.ServletUriComponentsBuilder fromCurrentRequest();
descriptor: ()Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getCurrentRequest() from the type ServletUriComponentsBuilder refers to the missing type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
protected static HttpServletRequest getCurrentRequest();
descriptor: ()LHttpServletRequest;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tHttpServletRequest cannot be resolved to a type\n\tThe method getRequest() from the type ServletRequestAttributes refers to the missing type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
private void initPath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
1: aload 0
aload 1
invokevirtual org.springframework.web.servlet.support.ServletUriComponentsBuilder.replacePath:(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
0 3 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public java.lang.String removePathExtension();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
ifnull 7
2: aload 0
getfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
invokestatic org.springframework.web.util.UriUtils.extractFileExtension:(Ljava/lang/String;)Ljava/lang/String;
astore 1
3: aload 1
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
getfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
iadd
isub
istore 2
start local 2 5: aload 0
aload 0
getfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.springframework.web.servlet.support.ServletUriComponentsBuilder.replacePath:(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
pop
end local 2 6: StackMap locals: java.lang.String
StackMap stack:
aload 0
aconst_null
putfield org.springframework.web.servlet.support.ServletUriComponentsBuilder.originalPath:Ljava/lang/String;
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
1 8 1 extension Ljava/lang/String;
5 6 2 end I
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public org.springframework.web.servlet.support.ServletUriComponentsBuilder cloneBuilder();
descriptor: ()Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.springframework.web.servlet.support.ServletUriComponentsBuilder
dup
aload 0
invokespecial org.springframework.web.servlet.support.ServletUriComponentsBuilder.<init>:(Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
public org.springframework.web.util.UriComponentsBuilder cloneBuilder();
descriptor: ()Lorg/springframework/web/util/UriComponentsBuilder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.web.servlet.support.ServletUriComponentsBuilder.cloneBuilder:()Lorg/springframework/web/servlet/support/ServletUriComponentsBuilder;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ServletUriComponentsBuilder.java"