package core
Type Members
-
class
FileMimeTypesModule extends SimpleModule
Module that injects a
FileMimeTypes
toStaticFileMimeTypes
on start and on stop.Module that injects a
FileMimeTypes
toStaticFileMimeTypes
on start and on stop.This solves the issue of having the need to explicitly pass
FileMimeTypes
to Results.ok(...) and StatusHeader.sendResource(...) -
class
FileMimeTypesProvider extends Provider[FileMimeTypes]
- Annotations
- @Singleton()
-
trait
ObjectMapperComponents extends AnyRef
Components for Jackson ObjectMapper and Play's Json.
-
class
ObjectMapperModule extends SimpleModule
Module that injects an object mapper to the JSON library on start and on stop.
Module that injects an object mapper to the JSON library on start and on stop.
This solves the issue of the ObjectMapper cache from holding references to the application class loader between reloads.
-
class
ObjectMapperProvider extends Provider[ObjectMapper]
- Annotations
- @Singleton()