Packages

c

play.api.libs.ws.ahc

OptionalAhcHttpCacheProvider

class OptionalAhcHttpCacheProvider 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).

Annotations
@Singleton()
Source
AhcWSModule.scala
Linear Supertypes
Provider[Option[AhcHttpCache]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OptionalAhcHttpCacheProvider
  2. Provider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OptionalAhcHttpCacheProvider(environment: Environment, configuration: Configuration, applicationLifecycle: ApplicationLifecycle)(implicit executionContext: ExecutionContext)
    Annotations
    @Inject()

Type Members

  1. case class AhcHttpCacheConfiguration(enabled: Boolean, cacheName: String, heuristicsEnabled: Boolean, cacheManagerURI: String, cachingProviderName: String) extends Product with Serializable
  2. class JCacheAdapter extends Cache

Value Members

  1. lazy val get: Option[AhcHttpCache]
    Definition Classes
    OptionalAhcHttpCacheProvider → Provider
  2. object AhcHttpCacheParser