public final class org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition extends org.springframework.web.servlet.mvc.condition.AbstractRequestCondition<org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
super_class: org.springframework.web.servlet.mvc.condition.AbstractRequestCondition
{
private static final java.util.Map<java.lang.String, org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition> requestMethodConditionCache;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;>;
private final java.util.Set<org.springframework.web.bind.annotation.RequestMethod> methods;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/springframework/web/bind/annotation/RequestMethod;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=4, args_size=0
0: invokestatic org.springframework.web.bind.annotation.RequestMethod.values:()[Lorg/springframework/web/bind/annotation/RequestMethod;
arraylength
invokestatic org.springframework.util.CollectionUtils.newHashMap:(I)Ljava/util/HashMap;
putstatic org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.requestMethodConditionCache:Ljava/util/Map;
1: invokestatic org.springframework.web.bind.annotation.RequestMethod.values:()[Lorg/springframework/web/bind/annotation/RequestMethod;
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 5
StackMap locals: top int int org.springframework.web.bind.annotation.RequestMethod[]
StackMap stack:
2: aload 3
iload 1
aaload
astore 0
start local 0 3: getstatic org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.requestMethodConditionCache:Ljava/util/Map;
aload 0
invokevirtual org.springframework.web.bind.annotation.RequestMethod.name:()Ljava/lang/String;
new org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
dup
iconst_1
anewarray org.springframework.web.bind.annotation.RequestMethod
dup
iconst_0
aload 0
aastore
invokespecial org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.<init>:([Lorg/springframework/web/bind/annotation/RequestMethod;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
iload 2
if_icmplt 2
6: return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 method Lorg/springframework/web/bind/annotation/RequestMethod;
public void <init>(org.springframework.web.bind.annotation.RequestMethod[]);
descriptor: ([Lorg/springframework/web/bind/annotation/RequestMethod;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.web.servlet.mvc.condition.AbstractRequestCondition.<init>:()V
1: aload 0
aload 1
invokestatic org.springframework.util.ObjectUtils.isEmpty:([Ljava/lang/Object;)Z
ifeq 3
2: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
goto 4
StackMap locals: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition org.springframework.web.bind.annotation.RequestMethod[]
StackMap stack: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
3: new java.util.LinkedHashSet
dup
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
4: StackMap locals: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition org.springframework.web.bind.annotation.RequestMethod[]
StackMap stack: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition java.util.Set
putfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 6 1 requestMethods [Lorg/springframework/web/bind/annotation/RequestMethod;
MethodParameters:
Name Flags
requestMethods
private void <init>(java.util.Set<org.springframework.web.bind.annotation.RequestMethod>);
descriptor: (Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.web.servlet.mvc.condition.AbstractRequestCondition.<init>:()V
1: aload 0
aload 1
putfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 3 1 methods Ljava/util/Set<Lorg/springframework/web/bind/annotation/RequestMethod;>;
Signature: (Ljava/util/Set<Lorg/springframework/web/bind/annotation/RequestMethod;>;)V
MethodParameters:
Name Flags
methods
public java.util.Set<org.springframework.web.bind.annotation.RequestMethod> getMethods();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
Signature: ()Ljava/util/Set<Lorg/springframework/web/bind/annotation/RequestMethod;>;
protected java.util.Collection<org.springframework.web.bind.annotation.RequestMethod> getContent();
descriptor: ()Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
Signature: ()Ljava/util/Collection<Lorg/springframework/web/bind/annotation/RequestMethod;>;
protected java.lang.String getToStringInfix();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc " || "
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
public org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition combine(org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition);
descriptor: (Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.isEmpty:()Z
ifeq 2
aload 1
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.isEmpty:()Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.isEmpty:()Z
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.isEmpty:()Z
ifeq 6
5: aload 1
areturn
6: StackMap locals:
StackMap stack:
new java.util.LinkedHashSet
dup
aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 7: aload 2
aload 1
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
8: new org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
dup
aload 2
invokespecial org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.<init>:(Ljava/util/Set;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 9 1 other Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
7 9 2 set Ljava/util/Set<Lorg/springframework/web/bind/annotation/RequestMethod;>;
MethodParameters:
Name Flags
other
public org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition getMatchingCondition(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tHttpServletRequest cannot be resolved to a type\n\tDispatcherType cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition matchPreFlight(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 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
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
private org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition matchRequestMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.web.bind.annotation.RequestMethod.valueOf:(Ljava/lang/String;)Lorg/springframework/web/bind/annotation/RequestMethod;
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.getMethods:()Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
2: getstatic org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.requestMethodConditionCache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
3: areturn
4: StackMap locals: org.springframework.web.bind.annotation.RequestMethod
StackMap stack:
aload 2
getstatic org.springframework.web.bind.annotation.RequestMethod.HEAD:Lorg/springframework/web/bind/annotation/RequestMethod;
invokevirtual org.springframework.web.bind.annotation.RequestMethod.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 0
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.getMethods:()Ljava/util/Set;
getstatic org.springframework.web.bind.annotation.RequestMethod.GET:Lorg/springframework/web/bind/annotation/RequestMethod;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 8
5: getstatic org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.requestMethodConditionCache:Ljava/util/Map;
getstatic org.springframework.http.HttpMethod.GET:Lorg/springframework/http/HttpMethod;
invokevirtual org.springframework.http.HttpMethod.name:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
6: areturn
end local 2 7: StackMap locals: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition java.lang.String
StackMap stack: java.lang.IllegalArgumentException
pop
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 9 1 httpMethodValue Ljava/lang/String;
1 7 2 requestMethod Lorg/springframework/web/bind/annotation/RequestMethod;
Exception table:
from to target type
0 3 7 Class java.lang.IllegalArgumentException
4 6 7 Class java.lang.IllegalArgumentException
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
httpMethodValue
public int compareTo(org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition, HttpServletRequest);
descriptor: (Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;LHttpServletRequest;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 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
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
MethodParameters:
Name Flags
other
request
public org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition getMatchingCondition(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
flags: (0x1001) ACC_PUBLIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe type RequestMethodsRequestCondition must implement the inherited abstract method RequestCondition<RequestMethodsRequestCondition>.getMatchingCondition(HttpServletRequest)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
public int compareTo(org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition, HttpServletRequest);
descriptor: (Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;LHttpServletRequest;)I
flags: (0x1001) ACC_PUBLIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe type RequestMethodsRequestCondition must implement the inherited abstract method RequestCondition<RequestMethodsRequestCondition>.compareTo(RequestMethodsRequestCondition, HttpServletRequest)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
public java.lang.Object combine(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.combine:(Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/springframework/web/servlet/mvc/condition/AbstractRequestCondition<Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;>;
SourceFile: "RequestMethodsRequestCondition.java"