public class org.springframework.web.accept.ServletPathExtensionContentNegotiationStrategy extends org.springframework.web.accept.PathExtensionContentNegotiationStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.accept.ServletPathExtensionContentNegotiationStrategy
super_class: org.springframework.web.accept.PathExtensionContentNegotiationStrategy
{
private final ServletContext servletContext;
descriptor: LServletContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(ServletContext);
descriptor: (LServletContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import javax.servlet cannot be resolved\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tNo exception of type HttpMediaTypeNotAcceptableException can be thrown; an exception type must be a subclass of Throwable\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ServletPathExtensionContentNegotiationStrategy;
MethodParameters:
Name Flags
context
public void <init>(ServletContext, java.util.Map<java.lang.String, org.springframework.http.MediaType>);
descriptor: (LServletContext;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import javax.servlet cannot be resolved\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tNo exception of type HttpMediaTypeNotAcceptableException can be thrown; an exception type must be a subclass of Throwable\n\tServletContext cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ServletPathExtensionContentNegotiationStrategy;
Signature: (LServletContext;Ljava/util/Map<Ljava/lang/String;Lorg/springframework/http/MediaType;>;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
servletContext
mediaTypes
protected org.springframework.http.MediaType handleNoMatch(org.springframework.web.context.request.NativeWebRequest, java.lang.String);
descriptor: (Lorg/springframework/web/context/request/NativeWebRequest;Ljava/lang/String;)Lorg/springframework/http/MediaType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNo exception of type HttpMediaTypeNotAcceptableException can be thrown; an exception type must be a subclass of Throwable\n\tServletContext cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ServletPathExtensionContentNegotiationStrategy;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
webRequest
extension
public org.springframework.http.MediaType getMediaTypeForResource(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)Lorg/springframework/http/MediaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tServletContext cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/accept/ServletPathExtensionContentNegotiationStrategy;
MethodParameters:
Name Flags
resource
}
SourceFile: "ServletPathExtensionContentNegotiationStrategy.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()