public class org.springframework.web.util.DefaultUriTemplateHandler extends org.springframework.web.util.AbstractUriTemplateHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.util.DefaultUriTemplateHandler
super_class: org.springframework.web.util.AbstractUriTemplateHandler
{
private boolean parsePath;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean strictEncoding;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.web.util.AbstractUriTemplateHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
public void setParsePath(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.springframework.web.util.DefaultUriTemplateHandler.parsePath:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 2 1 parsePath Z
MethodParameters:
Name Flags
parsePath
public boolean shouldParsePath();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.DefaultUriTemplateHandler.parsePath:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
public void setStrictEncoding(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.springframework.web.util.DefaultUriTemplateHandler.strictEncoding:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 2 1 strictEncoding Z
MethodParameters:
Name Flags
strictEncoding
public boolean isStrictEncoding();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.DefaultUriTemplateHandler.strictEncoding:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
protected java.net.URI expandInternal(java.lang.String, java.util.Map<java.lang.String, ?>);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/net/URI;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.initUriComponentsBuilder:(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
astore 3
start local 3 1: aload 0
aload 3
aload 2
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.expandAndEncode:(Lorg/springframework/web/util/UriComponentsBuilder;Ljava/util/Map;)Lorg/springframework/web/util/UriComponents;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.createUri:(Lorg/springframework/web/util/UriComponents;)Ljava/net/URI;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 3 1 uriTemplate Ljava/lang/String;
0 3 2 uriVariables Ljava/util/Map<Ljava/lang/String;*>;
1 3 3 uriComponentsBuilder Lorg/springframework/web/util/UriComponentsBuilder;
2 3 4 uriComponents Lorg/springframework/web/util/UriComponents;
Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;*>;)Ljava/net/URI;
MethodParameters:
Name Flags
uriTemplate
uriVariables
protected java.net.URI expandInternal(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/net/URI;
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.initUriComponentsBuilder:(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
astore 3
start local 3 1: aload 0
aload 3
aload 2
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.expandAndEncode:(Lorg/springframework/web/util/UriComponentsBuilder;[Ljava/lang/Object;)Lorg/springframework/web/util/UriComponents;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.createUri:(Lorg/springframework/web/util/UriComponents;)Ljava/net/URI;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 3 1 uriTemplate Ljava/lang/String;
0 3 2 uriVariables [Ljava/lang/Object;
1 3 3 uriComponentsBuilder Lorg/springframework/web/util/UriComponentsBuilder;
2 3 4 uriComponents Lorg/springframework/web/util/UriComponents;
MethodParameters:
Name Flags
uriTemplate
uriVariables
protected org.springframework.web.util.UriComponentsBuilder initUriComponentsBuilder(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.web.util.UriComponentsBuilder.fromUriString:(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.shouldParsePath:()Z
ifeq 8
aload 0
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.isStrictEncoding:()Z
ifne 8
2: aload 2
invokevirtual org.springframework.web.util.UriComponentsBuilder.build:()Lorg/springframework/web/util/UriComponents;
invokevirtual org.springframework.web.util.UriComponents.getPathSegments:()Ljava/util/List;
astore 3
start local 3 3: aload 2
aconst_null
invokevirtual org.springframework.web.util.UriComponentsBuilder.replacePath:(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
pop
4: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.springframework.web.util.DefaultUriTemplateHandler java.lang.String org.springframework.web.util.UriComponentsBuilder java.util.List top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 4
aastore
invokevirtual org.springframework.web.util.UriComponentsBuilder.pathSegment:([Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
pop
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 8: StackMap locals: org.springframework.web.util.DefaultUriTemplateHandler java.lang.String org.springframework.web.util.UriComponentsBuilder
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 9 1 uriTemplate Ljava/lang/String;
1 9 2 builder Lorg/springframework/web/util/UriComponentsBuilder;
3 8 3 pathSegments Ljava/util/List<Ljava/lang/String;>;
6 7 4 pathSegment Ljava/lang/String;
MethodParameters:
Name Flags
uriTemplate
protected org.springframework.web.util.UriComponents expandAndEncode(org.springframework.web.util.UriComponentsBuilder, java.util.Map<java.lang.String, ?>);
descriptor: (Lorg/springframework/web/util/UriComponentsBuilder;Ljava/util/Map;)Lorg/springframework/web/util/UriComponents;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.isStrictEncoding:()Z
ifne 2
1: aload 1
aload 2
invokevirtual org.springframework.web.util.UriComponentsBuilder.buildAndExpand:(Ljava/util/Map;)Lorg/springframework/web/util/UriComponents;
invokevirtual org.springframework.web.util.UriComponents.encode:()Lorg/springframework/web/util/UriComponents;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.springframework.web.util.UriUtils.encodeUriVariables:(Ljava/util/Map;)Ljava/util/Map;
astore 3
start local 3 3: aload 1
aload 3
invokevirtual org.springframework.web.util.UriComponentsBuilder.buildAndExpand:(Ljava/util/Map;)Lorg/springframework/web/util/UriComponents;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 4 1 builder Lorg/springframework/web/util/UriComponentsBuilder;
0 4 2 uriVariables Ljava/util/Map<Ljava/lang/String;*>;
3 4 3 encodedUriVars Ljava/util/Map<Ljava/lang/String;*>;
Signature: (Lorg/springframework/web/util/UriComponentsBuilder;Ljava/util/Map<Ljava/lang/String;*>;)Lorg/springframework/web/util/UriComponents;
MethodParameters:
Name Flags
builder
uriVariables
protected org.springframework.web.util.UriComponents expandAndEncode(org.springframework.web.util.UriComponentsBuilder, java.lang.Object[]);
descriptor: (Lorg/springframework/web/util/UriComponentsBuilder;[Ljava/lang/Object;)Lorg/springframework/web/util/UriComponents;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.springframework.web.util.DefaultUriTemplateHandler.isStrictEncoding:()Z
ifne 2
1: aload 1
aload 2
invokevirtual org.springframework.web.util.UriComponentsBuilder.buildAndExpand:([Ljava/lang/Object;)Lorg/springframework/web/util/UriComponents;
invokevirtual org.springframework.web.util.UriComponents.encode:()Lorg/springframework/web/util/UriComponents;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.springframework.web.util.UriUtils.encodeUriVariables:([Ljava/lang/Object;)[Ljava/lang/Object;
astore 3
start local 3 3: aload 1
aload 3
invokevirtual org.springframework.web.util.UriComponentsBuilder.buildAndExpand:([Ljava/lang/Object;)Lorg/springframework/web/util/UriComponents;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 4 1 builder Lorg/springframework/web/util/UriComponentsBuilder;
0 4 2 uriVariables [Ljava/lang/Object;
3 4 3 encodedUriVars [Ljava/lang/Object;
MethodParameters:
Name Flags
builder
uriVariables
private java.net.URI createUri(org.springframework.web.util.UriComponents);
descriptor: (Lorg/springframework/web/util/UriComponents;)Ljava/net/URI;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new java.net.URI
dup
aload 1
invokevirtual org.springframework.web.util.UriComponents.toUriString:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.net.URISyntaxException
astore 2
start local 2 3: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Could not create URI object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/util/DefaultUriTemplateHandler;
0 4 1 uriComponents Lorg/springframework/web/util/UriComponents;
3 4 2 ex Ljava/net/URISyntaxException;
Exception table:
from to target type
0 1 2 Class java.net.URISyntaxException
MethodParameters:
Name Flags
uriComponents
}
SourceFile: "DefaultUriTemplateHandler.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()