private static class ContentNegotiatingViewResolver.ActivationMediaTypeFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static javax.activation.FileTypeMap |
fileTypeMap |
Modifier | Constructor and Description |
---|---|
private |
ContentNegotiatingViewResolver.ActivationMediaTypeFactory() |
Modifier and Type | Method and Description |
---|---|
static MediaType |
getMediaType(java.lang.String filename) |
private static javax.activation.FileTypeMap |
loadFileTypeMapFromContextSupportModule() |
private ContentNegotiatingViewResolver.ActivationMediaTypeFactory()
private static javax.activation.FileTypeMap loadFileTypeMapFromContextSupportModule()
public static MediaType getMediaType(java.lang.String filename)