Package

play.api

cache

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. trait CacheApi extends AnyRef

    Permalink

    The cache API

  2. class CacheManagerProvider extends Provider[CacheManager]

    Permalink
    Annotations
    @Singleton()
  3. class Cached extends AnyRef

    Permalink

    A helper to add caching to an Action.

  4. final class CachedBuilder extends AnyRef

    Permalink

    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

    Permalink
    Annotations
    @Singleton()
  6. trait EhCacheComponents extends AnyRef

    Permalink

    EhCache components for compile time injection

  7. class EhCacheModule extends Module

    Permalink

    EhCache implementation.

    EhCache implementation.

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

    Permalink
  9. class UnboundCachedBuilder extends AnyRef

    Permalink

    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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Use CachedBuilder instead

Value Members

  1. object Cache

    Permalink

    Public Cache API.

    Public Cache API.

    The underlying Cache implementation is received from plugin.

  2. object Cached

    Permalink

    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