OptionalAhcHttpCacheProvider
play.api.libs.ws.ahc.OptionalAhcHttpCacheProvider
@Singleton
class OptionalAhcHttpCacheProvider(environment: Environment, configuration: Configuration, applicationLifecycle: ApplicationLifecycle)(implicit executionContext: ExecutionContext) extends Provider[Option[AhcHttpCache]]
A provider of HTTP cache.
Unfortunately this can't be bound directly through Play's DI system because it doesn't support type literals (and JSR 330 doesn't support optional).
Attributes
- Graph
-
- Supertypes
Members list
In this article