public class org.springframework.web.accept.FixedContentNegotiationStrategy implements org.springframework.web.accept.ContentNegotiationStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.accept.FixedContentNegotiationStrategy
super_class: java.lang.Object
{
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<org.springframework.http.MediaType> contentTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/http/MediaType;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/web/accept/FixedContentNegotiationStrategy;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.web.accept.FixedContentNegotiationStrategy.logger:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.springframework.http.MediaType);
descriptor: (Lorg/springframework/http/MediaType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokespecial org.springframework.web.accept.FixedContentNegotiationStrategy.<init>:(Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/accept/FixedContentNegotiationStrategy;
0 2 1 contentType Lorg/springframework/http/MediaType;
MethodParameters:
Name Flags
contentType
public void <init>(java.util.List<org.springframework.http.MediaType>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "'contentTypes' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.springframework.web.accept.FixedContentNegotiationStrategy.contentTypes: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/FixedContentNegotiationStrategy;
0 4 1 contentTypes Ljava/util/List<Lorg/springframework/http/MediaType;>;
Signature: (Ljava/util/List<Lorg/springframework/http/MediaType;>;)V
MethodParameters:
Name Flags
contentTypes
public java.util.List<org.springframework.http.MediaType> getContentTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.accept.FixedContentNegotiationStrategy.contentTypes:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/FixedContentNegotiationStrategy;
Signature: ()Ljava/util/List<Lorg/springframework/http/MediaType;>;
public java.util.List<org.springframework.http.MediaType> resolveMediaTypes(org.springframework.web.context.request.NativeWebRequest);
descriptor: (Lorg/springframework/web/context/request/NativeWebRequest;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.accept.FixedContentNegotiationStrategy.contentTypes:Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/FixedContentNegotiationStrategy;
0 1 1 request Lorg/springframework/web/context/request/NativeWebRequest;
Signature: (Lorg/springframework/web/context/request/NativeWebRequest;)Ljava/util/List<Lorg/springframework/http/MediaType;>;
MethodParameters:
Name Flags
request
}
SourceFile: "FixedContentNegotiationStrategy.java"