Package play.cache

Class CachedAction


public class CachedAction extends Action<Cached>
Cache another action.
  • Constructor Details

    • CachedAction

      @Inject public CachedAction(AsyncCacheApi cacheApi)
  • Method Details

    • call

      public CompletionStage<Result> call(Http.Request req)
      Description copied from class: Action
      Executes this action with the given HTTP request and returns the result.
      Specified by:
      call in class Action<Cached>
      Parameters:
      req - the http request with which to execute this action
      Returns:
      a promise to the action's result