Module io.helidon.common.media.type
Package io.helidon.common.media.type.spi
SPI to provide custom mappings of resources to media types.
In addition to the Java service loader interface MediaTypeDetector
, you can
also provide a file localed in META-INF/media-types.properties
on the classpath to override or add media type
mappings.
The property file only supports mapping of file extensions to media types.
Example:
ooo=application/ooo
-
Interface Summary Interface Description MediaTypeDetector Detect media type.