| Type | Name and description |
|---|---|
java.util.List<grails.web.mime.MimeType> |
getKnownMimeTypes()Gets the known configured MimeType instances |
grails.web.mime.MimeType |
getMimeTypeForExtension(java.lang.String extension)Obtains a MimeType for the given extension |
grails.web.mime.MimeType |
getMimeTypeForURI(java.lang.String uri)Obtains a MimeType for the given extension |
Gets the known configured MimeType instances
Obtains a MimeType for the given extension
extension - The extensionObtains a MimeType for the given extension
uri - The URI to use