public final class org.springframework.http.HttpMethod extends java.lang.Enum<org.springframework.http.HttpMethod>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.springframework.http.HttpMethod
super_class: java.lang.Enum
{
public static final org.springframework.http.HttpMethod GET;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.http.HttpMethod HEAD;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.http.HttpMethod POST;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.http.HttpMethod PUT;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.http.HttpMethod PATCH;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.http.HttpMethod DELETE;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.http.HttpMethod OPTIONS;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.http.HttpMethod TRACE;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final java.util.Map<java.lang.String, org.springframework.http.HttpMethod> mappings;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/springframework/http/HttpMethod;>;
private static final org.springframework.http.HttpMethod[] ENUM$VALUES;
descriptor: [Lorg/springframework/http/HttpMethod;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=0
0: new org.springframework.http.HttpMethod
dup
ldc "GET"
iconst_0
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.GET:Lorg/springframework/http/HttpMethod;
new org.springframework.http.HttpMethod
dup
ldc "HEAD"
iconst_1
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.HEAD:Lorg/springframework/http/HttpMethod;
new org.springframework.http.HttpMethod
dup
ldc "POST"
iconst_2
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.POST:Lorg/springframework/http/HttpMethod;
new org.springframework.http.HttpMethod
dup
ldc "PUT"
iconst_3
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.PUT:Lorg/springframework/http/HttpMethod;
new org.springframework.http.HttpMethod
dup
ldc "PATCH"
iconst_4
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.PATCH:Lorg/springframework/http/HttpMethod;
new org.springframework.http.HttpMethod
dup
ldc "DELETE"
iconst_5
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.DELETE:Lorg/springframework/http/HttpMethod;
new org.springframework.http.HttpMethod
dup
ldc "OPTIONS"
bipush 6
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.OPTIONS:Lorg/springframework/http/HttpMethod;
new org.springframework.http.HttpMethod
dup
ldc "TRACE"
bipush 7
invokespecial org.springframework.http.HttpMethod.<init>:(Ljava/lang/String;I)V
putstatic org.springframework.http.HttpMethod.TRACE:Lorg/springframework/http/HttpMethod;
bipush 8
anewarray org.springframework.http.HttpMethod
dup
iconst_0
getstatic org.springframework.http.HttpMethod.GET:Lorg/springframework/http/HttpMethod;
aastore
dup
iconst_1
getstatic org.springframework.http.HttpMethod.HEAD:Lorg/springframework/http/HttpMethod;
aastore
dup
iconst_2
getstatic org.springframework.http.HttpMethod.POST:Lorg/springframework/http/HttpMethod;
aastore
dup
iconst_3
getstatic org.springframework.http.HttpMethod.PUT:Lorg/springframework/http/HttpMethod;
aastore
dup
iconst_4
getstatic org.springframework.http.HttpMethod.PATCH:Lorg/springframework/http/HttpMethod;
aastore
dup
iconst_5
getstatic org.springframework.http.HttpMethod.DELETE:Lorg/springframework/http/HttpMethod;
aastore
dup
bipush 6
getstatic org.springframework.http.HttpMethod.OPTIONS:Lorg/springframework/http/HttpMethod;
aastore
dup
bipush 7
getstatic org.springframework.http.HttpMethod.TRACE:Lorg/springframework/http/HttpMethod;
aastore
putstatic org.springframework.http.HttpMethod.ENUM$VALUES:[Lorg/springframework/http/HttpMethod;
1: new java.util.HashMap
dup
bipush 16
invokespecial java.util.HashMap.<init>:(I)V
putstatic org.springframework.http.HttpMethod.mappings:Ljava/util/Map;
2: invokestatic org.springframework.http.HttpMethod.values:()[Lorg/springframework/http/HttpMethod;
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 6
StackMap locals: top int int org.springframework.http.HttpMethod[]
StackMap stack:
3: aload 3
iload 1
aaload
astore 0
start local 0 4: getstatic org.springframework.http.HttpMethod.mappings:Ljava/util/Map;
aload 0
invokevirtual org.springframework.http.HttpMethod.name:()Ljava/lang/String;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
iload 2
if_icmplt 3
7: return
LocalVariableTable:
Start End Slot Name Signature
4 5 0 httpMethod Lorg/springframework/http/HttpMethod;
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/HttpMethod;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public static org.springframework.http.HttpMethod resolve(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/http/HttpMethod;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
getstatic org.springframework.http.HttpMethod.mappings:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.http.HttpMethod
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.springframework.http.HttpMethod
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 method Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
method
public boolean matches(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.springframework.http.HttpMethod.resolve:(Ljava/lang/String;)Lorg/springframework/http/HttpMethod;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/HttpMethod;
0 2 1 method Ljava/lang/String;
MethodParameters:
Name Flags
method
public static org.springframework.http.HttpMethod[] values();
descriptor: ()[Lorg/springframework/http/HttpMethod;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.springframework.http.HttpMethod.ENUM$VALUES:[Lorg/springframework/http/HttpMethod;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.springframework.http.HttpMethod
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.springframework.http.HttpMethod valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/http/HttpMethod;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/springframework/http/HttpMethod;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.springframework.http.HttpMethod
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/springframework/http/HttpMethod;>;
SourceFile: "HttpMethod.java"