Package ratpack.file
Interface MimeTypes
-
public interface MimeTypes
A registry for mime types. Every exchange has an instance of this type available via the service. The default implementation uses theMimetypesFileTypeMap
class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getContentType(java.lang.String name)
Calculate the mime type for the given file.
-