public class org.springframework.web.accept.ContentNegotiationManagerFactoryBean implements org.springframework.beans.factory.FactoryBean<org.springframework.web.accept.ContentNegotiationManager>, org.springframework.web.context.ServletContextAware, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.accept.ContentNegotiationManagerFactoryBean
super_class: java.lang.Object
{
private java.util.List<org.springframework.web.accept.ContentNegotiationStrategy> strategies;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/springframework/web/accept/ContentNegotiationStrategy;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean favorPathExtension;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean favorParameter;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, org.springframework.http.MediaType> mediaTypes;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/springframework/http/MediaType;>;
private boolean ignoreUnknownPathExtensions;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean useRegisteredExtensionsOnly;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String parameterName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.springframework.web.accept.ContentNegotiationStrategy defaultNegotiationStrategy;
descriptor: Lorg/springframework/web/accept/ContentNegotiationStrategy;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager;
descriptor: Lorg/springframework/web/accept/ContentNegotiationManager;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.servlet.ServletContext servletContext;
descriptor: Ljavax/servlet/ServletContext;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.favorPathExtension:Z
2: aload 0
iconst_0
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.favorParameter:Z
3: aload 0
iconst_0
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.ignoreAcceptHeader:Z
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.mediaTypes:Ljava/util/Map;
5: aload 0
iconst_1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.ignoreUnknownPathExtensions:Z
6: aload 0
ldc "format"
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.parameterName:Ljava/lang/String;
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
public void setStrategies(java.util.List<org.springframework.web.accept.ContentNegotiationStrategy>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
goto 2
StackMap locals:
StackMap stack: org.springframework.web.accept.ContentNegotiationManagerFactoryBean
1: aconst_null
StackMap locals: org.springframework.web.accept.ContentNegotiationManagerFactoryBean java.util.List
StackMap stack: org.springframework.web.accept.ContentNegotiationManagerFactoryBean java.util.ArrayList
2: putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.strategies:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 4 1 strategies Ljava/util/List<Lorg/springframework/web/accept/ContentNegotiationStrategy;>;
Signature: (Ljava/util/List<Lorg/springframework/web/accept/ContentNegotiationStrategy;>;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
strategies
public void setFavorPathExtension(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.favorPathExtension:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 favorPathExtension Z
MethodParameters:
Name Flags
favorPathExtension
public void setMediaTypes(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Map;)Z
ifne 2
1: aload 1
aload 0
invokedynamic accept(Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/springframework/web/accept/ContentNegotiationManagerFactoryBean.lambda$0(Ljava/lang/Object;Ljava/lang/Object;)V (7)
(Ljava/lang/Object;Ljava/lang/Object;)V
invokevirtual java.util.Properties.forEach:(Ljava/util/function/BiConsumer;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 3 1 mediaTypes Ljava/util/Properties;
MethodParameters:
Name Flags
mediaTypes
public void addMediaType(java.lang.String, org.springframework.http.MediaType);
descriptor: (Ljava/lang/String;Lorg/springframework/http/MediaType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.mediaTypes:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 fileExtension Ljava/lang/String;
0 2 2 mediaType Lorg/springframework/http/MediaType;
MethodParameters:
Name Flags
fileExtension
mediaType
public void addMediaTypes(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 1
ifnull 2
1: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.mediaTypes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
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
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
mediaTypes
public void setIgnoreUnknownPathExtensions(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.ignoreUnknownPathExtensions:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 ignore Z
MethodParameters:
Name Flags
ignore
public void setUseJaf(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.springframework.web.accept.ContentNegotiationManagerFactoryBean
1: iconst_1
StackMap locals: org.springframework.web.accept.ContentNegotiationManagerFactoryBean int
StackMap stack: org.springframework.web.accept.ContentNegotiationManagerFactoryBean int
2: invokevirtual org.springframework.web.accept.ContentNegotiationManagerFactoryBean.setUseRegisteredExtensionsOnly:(Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 4 1 useJaf Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
useJaf
public void setUseRegisteredExtensionsOnly(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:Ljava/lang/Boolean;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 useRegisteredExtensionsOnly Z
MethodParameters:
Name Flags
useRegisteredExtensionsOnly
private boolean useRegisteredExtensionsOnly();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:Ljava/lang/Boolean;
ifnull 1
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
public void setFavorParameter(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.favorParameter:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 favorParameter Z
MethodParameters:
Name Flags
favorParameter
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.ContentNegotiationManagerFactoryBean.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/ContentNegotiationManagerFactoryBean;
0 3 1 parameterName Ljava/lang/String;
MethodParameters:
Name Flags
parameterName
public void (boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.ignoreAcceptHeader:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 ignoreAcceptHeader Z
MethodParameters:
Name Flags
ignoreAcceptHeader
public void setDefaultContentType(org.springframework.http.MediaType);
descriptor: (Lorg/springframework/http/MediaType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.web.accept.FixedContentNegotiationStrategy
dup
aload 1
invokespecial org.springframework.web.accept.FixedContentNegotiationStrategy.<init>:(Lorg/springframework/http/MediaType;)V
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.defaultNegotiationStrategy:Lorg/springframework/web/accept/ContentNegotiationStrategy;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 contentType Lorg/springframework/http/MediaType;
MethodParameters:
Name Flags
contentType
public void setDefaultContentTypes(java.util.List<org.springframework.http.MediaType>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.web.accept.FixedContentNegotiationStrategy
dup
aload 1
invokespecial org.springframework.web.accept.FixedContentNegotiationStrategy.<init>:(Ljava/util/List;)V
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.defaultNegotiationStrategy:Lorg/springframework/web/accept/ContentNegotiationStrategy;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 contentTypes Ljava/util/List<Lorg/springframework/http/MediaType;>;
Signature: (Ljava/util/List<Lorg/springframework/http/MediaType;>;)V
MethodParameters:
Name Flags
contentTypes
public void setDefaultContentTypeStrategy(org.springframework.web.accept.ContentNegotiationStrategy);
descriptor: (Lorg/springframework/web/accept/ContentNegotiationStrategy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.defaultNegotiationStrategy:Lorg/springframework/web/accept/ContentNegotiationStrategy;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 strategy Lorg/springframework/web/accept/ContentNegotiationStrategy;
MethodParameters:
Name Flags
strategy
public void setServletContext(javax.servlet.ServletContext);
descriptor: (Ljavax/servlet/ServletContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.servletContext:Ljavax/servlet/ServletContext;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 2 1 servletContext Ljavax/servlet/ServletContext;
MethodParameters:
Name Flags
servletContext
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.web.accept.ContentNegotiationManagerFactoryBean.build:()Lorg/springframework/web/accept/ContentNegotiationManager;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
public org.springframework.web.accept.ContentNegotiationManager build();
descriptor: ()Lorg/springframework/web/accept/ContentNegotiationManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.strategies:Ljava/util/List;
ifnull 4
2: aload 1
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.strategies:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: goto 25
4: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.favorPathExtension:Z
ifeq 13
5: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.servletContext:Ljavax/servlet/ServletContext;
ifnull 8
aload 0
invokevirtual org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:()Z
ifne 8
6: new org.springframework.web.accept.ServletPathExtensionContentNegotiationStrategy
dup
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.servletContext:Ljavax/servlet/ServletContext;
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.mediaTypes:Ljava/util/Map;
invokespecial org.springframework.web.accept.ServletPathExtensionContentNegotiationStrategy.<init>:(Ljavax/servlet/ServletContext;Ljava/util/Map;)V
astore 2
start local 2 7: goto 9
end local 2 8: StackMap locals:
StackMap stack:
new org.springframework.web.accept.PathExtensionContentNegotiationStrategy
dup
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.mediaTypes:Ljava/util/Map;
invokespecial org.springframework.web.accept.PathExtensionContentNegotiationStrategy.<init>:(Ljava/util/Map;)V
astore 2
start local 2 9: StackMap locals: org.springframework.web.accept.PathExtensionContentNegotiationStrategy
StackMap stack:
aload 2
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.ignoreUnknownPathExtensions:Z
invokevirtual org.springframework.web.accept.PathExtensionContentNegotiationStrategy.setIgnoreUnknownExtensions:(Z)V
10: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:Ljava/lang/Boolean;
ifnull 12
11: aload 2
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.springframework.web.accept.PathExtensionContentNegotiationStrategy.setUseRegisteredExtensionsOnly:(Z)V
12: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 13: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.favorParameter:Z
ifeq 21
14: new org.springframework.web.accept.ParameterContentNegotiationStrategy
dup
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.mediaTypes:Ljava/util/Map;
invokespecial org.springframework.web.accept.ParameterContentNegotiationStrategy.<init>:(Ljava/util/Map;)V
astore 2
start local 2 15: aload 2
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.parameterName:Ljava/lang/String;
invokevirtual org.springframework.web.accept.ParameterContentNegotiationStrategy.setParameterName:(Ljava/lang/String;)V
16: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:Ljava/lang/Boolean;
ifnull 19
17: aload 2
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.useRegisteredExtensionsOnly:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.springframework.web.accept.ParameterContentNegotiationStrategy.setUseRegisteredExtensionsOnly:(Z)V
18: goto 20
19: StackMap locals: org.springframework.web.accept.ParameterContentNegotiationStrategy
StackMap stack:
aload 2
iconst_1
invokevirtual org.springframework.web.accept.ParameterContentNegotiationStrategy.setUseRegisteredExtensionsOnly:(Z)V
20: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 21: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.ignoreAcceptHeader:Z
ifne 23
22: aload 1
new org.springframework.web.accept.HeaderContentNegotiationStrategy
dup
invokespecial org.springframework.web.accept.HeaderContentNegotiationStrategy.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.defaultNegotiationStrategy:Lorg/springframework/web/accept/ContentNegotiationStrategy;
ifnull 25
24: aload 1
aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.defaultNegotiationStrategy:Lorg/springframework/web/accept/ContentNegotiationStrategy;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
25: StackMap locals:
StackMap stack:
aload 0
new org.springframework.web.accept.ContentNegotiationManager
dup
aload 1
invokespecial org.springframework.web.accept.ContentNegotiationManager.<init>:(Ljava/util/Collection;)V
putfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.contentNegotiationManager:Lorg/springframework/web/accept/ContentNegotiationManager;
26: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.contentNegotiationManager:Lorg/springframework/web/accept/ContentNegotiationManager;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
1 27 1 strategies Ljava/util/List<Lorg/springframework/web/accept/ContentNegotiationStrategy;>;
7 8 2 strategy Lorg/springframework/web/accept/PathExtensionContentNegotiationStrategy;
9 13 2 strategy Lorg/springframework/web/accept/PathExtensionContentNegotiationStrategy;
15 21 2 strategy Lorg/springframework/web/accept/ParameterContentNegotiationStrategy;
public org.springframework.web.accept.ContentNegotiationManager getObject();
descriptor: ()Lorg/springframework/web/accept/ContentNegotiationManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.contentNegotiationManager:Lorg/springframework/web/accept/ContentNegotiationManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<?> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lorg/springframework/web/accept/ContentNegotiationManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
Signature: ()Ljava/lang/Class<*>;
public boolean isSingleton();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
public java.lang.Object getObject();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.web.accept.ContentNegotiationManagerFactoryBean.getObject:()Lorg/springframework/web/accept/ContentNegotiationManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private void lambda$0(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast java.lang.String
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 1: aload 2
checkcast java.lang.String
invokestatic org.springframework.http.MediaType.valueOf:(Ljava/lang/String;)Lorg/springframework/http/MediaType;
astore 4
start local 4 2: aload 0
getfield org.springframework.web.accept.ContentNegotiationManagerFactoryBean.mediaTypes:Ljava/util/Map;
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 3 3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/accept/ContentNegotiationManagerFactoryBean;
0 4 1 key Ljava/lang/Object;
0 4 2 value Ljava/lang/Object;
1 3 3 extension Ljava/lang/String;
2 3 4 mediaType Lorg/springframework/http/MediaType;
}
Signature: Ljava/lang/Object;Lorg/springframework/beans/factory/FactoryBean<Lorg/springframework/web/accept/ContentNegotiationManager;>;Lorg/springframework/web/context/ServletContextAware;Lorg/springframework/beans/factory/InitializingBean;
SourceFile: "ContentNegotiationManagerFactoryBean.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles