Package play.cache

Class CachedAction

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

      • CachedAction

        public CachedAction​(AsyncCacheApi cacheApi)
    • Method Detail

      • 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>
        req - the http request with which to execute this action
        a promise to the action's result