Class ContentTypeResolver$

  • public class ContentTypeResolver$
    extends java.lang.Object
    • Field Detail

      • MODULE$

        public static final ContentTypeResolver$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • ContentTypeResolver$

        public ContentTypeResolver$()
    • Method Detail

      • Default

        public ContentTypeResolver Default()
        The default way of resolving a filename to a ContentType is by looking up the file extension in the registry of all defined media-types. By default all non-binary file content is assumed to be UTF-8 encoded.