public class org.springframework.web.accept.ParameterContentNegotiationStrategy extends org.springframework.web.accept.AbstractMappingContentNegotiationStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.accept.ParameterContentNegotiationStrategy
super_class: org.springframework.web.accept.AbstractMappingContentNegotiationStrategy
{
private java.lang.String parameterName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.Map<java.lang.String, org.springframework.http.MediaType>);
descriptor: (Ljava/util/Map;)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.accept.AbstractMappingContentNegotiationStrategy.<init>:(Ljava/util/Map;)V
1: aload 0
ldc "format"
putfield org.springframework.web.accept.ParameterContentNegotiationStrategy.parameterName:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/accept/ParameterContentNegotiationStrategy;
0 3 1 mediaTypes Ljava/util/Map<Ljava/lang/String;Lorg/springframework/http/MediaType;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Lorg/springframework/http/MediaType;>;)V
MethodParameters:
Name Flags
mediaTypes
public void setParameterName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "'parameterName' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.web.accept.ParameterContentNegotiationStrategy.parameterName:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/accept/ParameterContentNegotiationStrategy;
0 3 1 parameterName Ljava/lang/String;
MethodParameters:
Name Flags
parameterName
public java.lang.String getParameterName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.accept.ParameterContentNegotiationStrategy.parameterName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ParameterContentNegotiationStrategy;
protected java.lang.String getMediaTypeKey(org.springframework.web.context.request.NativeWebRequest);
descriptor: (Lorg/springframework/web/context/request/NativeWebRequest;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.springframework.web.accept.ParameterContentNegotiationStrategy.getParameterName:()Ljava/lang/String;
invokeinterface org.springframework.web.context.request.NativeWebRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ParameterContentNegotiationStrategy;
0 1 1 request Lorg/springframework/web/context/request/NativeWebRequest;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
}
SourceFile: "ParameterContentNegotiationStrategy.java"