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