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
trait Provider[Option[AhcHttpCache]]
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class AhcHttpCacheConfiguration(enabled: Boolean, cacheName: String, heuristicsEnabled: Boolean, cacheManagerURI: String, cachingProviderName: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class JCacheAdapter(jcache: Cache[EffectiveURIKey, ResponseEntry]) extends Cache

Attributes

Supertypes
trait Cache
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val get: Option[AhcHttpCache]