play.api

cache

package cache

Contains the Cache access API.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. cache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait CacheApi extends AnyRef

    The cache API

  2. class CacheManagerProvider extends Provider[CacheManager]

    Annotations
    @Singleton()
  3. class Cached extends AnyRef

    A helper to add caching to an Action.

  4. final class CachedBuilder extends AnyRef

    Builds an action with caching behavior.

    Builds an action with caching behavior. Typically created with one of the methods in the Cached class. Uses both server and client caches:

    • Adds an Expires header to the response, so clients can cache response content ;
    • Adds an Etag header to the response, so clients can cache response content and ask the server for freshness ;
    • Cache the result on the server, so the underlying action is not computed at each call.
  5. class EhCacheApi extends CacheApi

    Annotations
    @Singleton()
  6. trait EhCacheComponents extends AnyRef

    EhCache components for compile time injection

  7. class EhCacheModule extends Module

    EhCache implementation.

    EhCache implementation.

    Annotations
    @Singleton()
  8. type NamedCache = cache.NamedCache

  9. class UnboundCachedBuilder extends AnyRef

    Builds an action with caching behavior.

    Builds an action with caching behavior. Typically created with one of the methods in the Cached companion object. Uses both server and client caches:

    • Adds an Expires header to the response, so clients can cache response content ;
    • Adds an Etag header to the response, so clients can cache response content and ask the server for freshness ;
    • Cache the result on the server, so the underlying action is not computed at each call.

    Unlike CachedBuilder, an UnboundCachedBuilder isn't bound to a particular cache when it is created. It binds the default cache of the current application when it builds an action.

Value Members

  1. object Cache

    Public Cache API.

    Public Cache API.

    The underlying Cache implementation is received from plugin.

  2. object Cached

    A helper to add caching to an Action.

    A helper to add caching to an Action. This helper uses the Application's default cache. If you want to inject a custom cache, see the Cached class.

Inherited from AnyRef

Inherited from Any

Ungrouped