Example usage for Java org.springframework.http MediaTypeFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
Optional | getMediaType(@Nullable Resource resource) Determine a media type for the given resource, if possible. |
Optional | getMediaType(@Nullable String filename) Determine a media type for the given file name, if possible. |