public interface MediaTypeFileExtensionResolver
MediaType
to a list of file extensions.
For example resolve "application/json" to "json".Modifier and Type | Method and Description |
---|---|
List<String> |
getAllFileExtensions()
Return all registered file extensions.
|
List<String> |
resolveFileExtensions(MediaType mediaType)
Resolve the given media type to a list of path extensions.
|