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 org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition GET_CONDITION;
descriptor: Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=6, locals=0, args_size=0
0: new org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
dup
iconst_1
anewarray org.springframework.web.bind.annotation.RequestMethod
dup
iconst_0
getstatic org.springframework.web.bind.annotation.RequestMethod.GET:Lorg/springframework/web/bind/annotation/RequestMethod;
aastore
invokespecial org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.<init>:([Lorg/springframework/web/bind/annotation/RequestMethod;)V
1: putstatic org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.GET_CONDITION:Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
2: return
LocalVariableTable:
Start End Slot Name Signature
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.<init>:(Ljava/util/Collection;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 2 1 requestMethods [Lorg/springframework/web/bind/annotation/RequestMethod;
MethodParameters:
Name Flags
requestMethods
private void <init>(java.util.Collection<org.springframework.web.bind.annotation.RequestMethod>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
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
new java.util.LinkedHashSet
dup
aload 1
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
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 requestMethods Ljava/util/Collection<Lorg/springframework/web/bind/annotation/RequestMethod;>;
Signature: (Ljava/util/Collection<Lorg/springframework/web/bind/annotation/RequestMethod;>;)V
MethodParameters:
Name Flags
requestMethods
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: 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 1: 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
2: new org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
dup
aload 2
invokespecial org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.<init>:(Ljava/util/Collection;)V
areturn
end local 2 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 other Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
1 3 2 set Ljava/util/Set<Lorg/springframework/web/bind/annotation/RequestMethod;>;
MethodParameters:
Name Flags
other
public org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition getMatchingCondition(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)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 problem: \n\tThe method getDispatcherType() is undefined for the type HttpServletRequest\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 matchPreFlight(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)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 0
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.getMethods:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "Access-Control-Request-Method"
invokeinterface javax.servlet.http.HttpServletRequest.getHeader:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.matchRequestMethod:(Ljava/lang/String;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 4 1 request Ljavax/servlet/http/HttpServletRequest;
3 4 2 expectedMethod Ljava/lang/String;
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=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.http.HttpMethod.resolve:(Ljava/lang/String;)Lorg/springframework/http/HttpMethod;
astore 2
start local 2 1: aload 2
ifnull 9
2: aload 0
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.getMethods:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition java.lang.String org.springframework.http.HttpMethod top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.web.bind.annotation.RequestMethod
astore 3
start local 3 4: aload 2
aload 3
invokevirtual org.springframework.web.bind.annotation.RequestMethod.name:()Ljava/lang/String;
invokevirtual org.springframework.http.HttpMethod.matches:(Ljava/lang/String;)Z
ifeq 6
5: new org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
dup
iconst_1
anewarray org.springframework.web.bind.annotation.RequestMethod
dup
iconst_0
aload 3
aastore
invokespecial org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.<init>:([Lorg/springframework/web/bind/annotation/RequestMethod;)V
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 2
getstatic org.springframework.http.HttpMethod.HEAD:Lorg/springframework/http/HttpMethod;
if_acmpne 9
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 9
8: getstatic org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.GET_CONDITION:Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
areturn
9: StackMap locals: org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition java.lang.String org.springframework.http.HttpMethod
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 10 1 httpMethodValue Ljava/lang/String;
1 10 2 httpMethod Lorg/springframework/http/HttpMethod;
4 6 3 method Lorg/springframework/web/bind/annotation/RequestMethod;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
httpMethodValue
public int compareTo(org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition, javax.servlet.http.HttpServletRequest);
descriptor: (Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;Ljavax/servlet/http/HttpServletRequest;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
if_icmpeq 2
1: aload 1
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
isub
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
iconst_1
if_icmpne 7
3: aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
getstatic org.springframework.web.bind.annotation.RequestMethod.HEAD:Lorg/springframework/web/bind/annotation/RequestMethod;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
aload 1
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods: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 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods: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 7
aload 1
getfield org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.methods:Ljava/util/Set;
getstatic org.springframework.web.bind.annotation.RequestMethod.HEAD:Lorg/springframework/web/bind/annotation/RequestMethod;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 8 1 other Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
0 8 2 request Ljavax/servlet/http/HttpServletRequest;
MethodParameters:
Name Flags
other
request
public int compareTo(java.lang.Object, javax.servlet.http.HttpServletRequest);
descriptor: (Ljava/lang/Object;Ljavax/servlet/http/HttpServletRequest;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
aload 2
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.compareTo:(Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;Ljavax/servlet/http/HttpServletRequest;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getMatchingCondition(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition.getMatchingCondition:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition;
areturn
LocalVariableTable:
Start End Slot Name Signature
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"