public class extends org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.method.annotation.RequestHeaderMethodArgumentResolver
super_class: org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
{
public void (org.springframework.beans.factory.config.ConfigurableBeanFactory);
descriptor: (Lorg/springframework/beans/factory/config/ConfigurableBeanFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.<init>:(Lorg/springframework/beans/factory/config/ConfigurableBeanFactory;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/method/annotation/RequestHeaderMethodArgumentResolver;
0 2 1 beanFactory Lorg/springframework/beans/factory/config/ConfigurableBeanFactory;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
beanFactory
public boolean (org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/springframework/web/bind/annotation/RequestHeader;
invokevirtual org.springframework.core.MethodParameter.hasParameterAnnotation:(Ljava/lang/Class;)Z
ifeq 3
1: ldc Ljava/util/Map;
aload 1
invokevirtual org.springframework.core.MethodParameter.nestedIfOptional:()Lorg/springframework/core/MethodParameter;
invokevirtual org.springframework.core.MethodParameter.getNestedParameterType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/method/annotation/RequestHeaderMethodArgumentResolver;
0 4 1 parameter Lorg/springframework/core/MethodParameter;
MethodParameters:
Name Flags
parameter
protected org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver$NamedValueInfo (org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Lorg/springframework/web/method/annotation/AbstractNamedValueMethodArgumentResolver$NamedValueInfo;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/springframework/web/bind/annotation/RequestHeader;
invokevirtual org.springframework.core.MethodParameter.getParameterAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.springframework.web.bind.annotation.RequestHeader
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
goto 3
StackMap locals: org.springframework.web.bind.annotation.RequestHeader
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "No RequestHeader annotation"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: new org.springframework.web.method.annotation.RequestHeaderMethodArgumentResolver$RequestHeaderNamedValueInfo
dup
aload 2
invokespecial org.springframework.web.method.annotation.RequestHeaderMethodArgumentResolver$RequestHeaderNamedValueInfo.<init>:(Lorg/springframework/web/bind/annotation/RequestHeader;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/method/annotation/RequestHeaderMethodArgumentResolver;
0 5 1 parameter Lorg/springframework/core/MethodParameter;
1 5 2 ann Lorg/springframework/web/bind/annotation/RequestHeader;
MethodParameters:
Name Flags
parameter
protected java.lang.Object (java.lang.String, org.springframework.core.MethodParameter, org.springframework.web.context.request.NativeWebRequest);
descriptor: (Ljava/lang/String;Lorg/springframework/core/MethodParameter;Lorg/springframework/web/context/request/NativeWebRequest;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 1
invokeinterface org.springframework.web.context.request.NativeWebRequest.getHeaderValues:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnull 5
2: aload 4
arraylength
iconst_1
if_icmpne 3
aload 4
iconst_0
aaload
goto 4
StackMap locals: java.lang.String[]
StackMap stack:
3: aload 4
StackMap locals:
StackMap stack: java.io.Serializable
4: areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/method/annotation/RequestHeaderMethodArgumentResolver;
0 6 1 name Ljava/lang/String;
0 6 2 parameter Lorg/springframework/core/MethodParameter;
0 6 3 request Lorg/springframework/web/context/request/NativeWebRequest;
1 6 4 headerValues [Ljava/lang/String;
Exceptions:
throws java.lang.Exception
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
parameter
request
protected void handleMissingValue(java.lang.String, org.springframework.core.MethodParameter);
descriptor: (Ljava/lang/String;Lorg/springframework/core/MethodParameter;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.web.bind.MissingRequestHeaderException
dup
aload 1
aload 2
invokespecial org.springframework.web.bind.MissingRequestHeaderException.<init>:(Ljava/lang/String;Lorg/springframework/core/MethodParameter;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/method/annotation/RequestHeaderMethodArgumentResolver;
0 1 1 name Ljava/lang/String;
0 1 2 parameter Lorg/springframework/core/MethodParameter;
Exceptions:
throws org.springframework.web.bind.ServletRequestBindingException
MethodParameters:
Name Flags
name
parameter
}
SourceFile: "RequestHeaderMethodArgumentResolver.java"
NestMembers:
org.springframework.web.method.annotation.RequestHeaderMethodArgumentResolver$RequestHeaderNamedValueInfo
InnerClasses:
protected NamedValueInfo = org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver$NamedValueInfo of org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
private final RequestHeaderNamedValueInfo = org.springframework.web.method.annotation.RequestHeaderMethodArgumentResolver$RequestHeaderNamedValueInfo of org.springframework.web.method.annotation.RequestHeaderMethodArgumentResolver