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