@io.micronaut.context.annotation.Factory @groovy.transform.CompileStatic class MimeTypesConfiguration extends java.lang.Object
Configuration for Codecs
Modifiers | Name | Description |
---|---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
|
private GrailsApplication |
grailsApplication |
|
private java.util.List<MimeTypeProvider> |
mimeTypeProviders |
Constructor and description |
---|
MimeTypesConfiguration
(GrailsApplication grailsApplication, java.util.List<MimeTypeProvider> mimeTypeProviders) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.util.Map<java.lang.CharSequence, java.lang.Object> |
getMimeConfig(Config config) |
|
protected MimeTypeResolver |
mimeTypeResolver() |
|
MimeType[] |
mimeTypes() |
|
MimeTypesHolder |
mimeTypesHolder() |
|
protected MimeUtility |
mimeUtility(MimeTypesHolder mimeTypesHolder) |
|
private void |
processProviders(java.util.List<MimeType> mimes, java.lang.Iterable<MimeTypeProvider> mimeTypeProviders) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |