private static class PathExtensionContentNegotiationStrategy.JafMediaTypeFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static javax.activation.FileTypeMap |
fileTypeMap |
Modifier | Constructor and Description |
---|---|
private |
PathExtensionContentNegotiationStrategy.JafMediaTypeFactory() |
Modifier and Type | Method and Description |
---|---|
static MediaType |
getMediaType(java.lang.String filename) |
private static javax.activation.FileTypeMap |
initFileTypeMap()
Find extended mime.types from the spring-context-support module.
|
private PathExtensionContentNegotiationStrategy.JafMediaTypeFactory()
private static javax.activation.FileTypeMap initFileTypeMap()
public static MediaType getMediaType(java.lang.String filename)