Class AddCSRFTokenAction

    • Constructor Detail

      • AddCSRFTokenAction

        public AddCSRFTokenAction​(play.filters.csrf.CSRFConfig config,
                                  play.api.http.SessionConfiguration sessionConfiguration,
                                  play.filters.csrf.CSRF.TokenProvider tokenProvider,
                                  play.api.libs.crypto.CSRFTokenSigner tokenSigner)
    • 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<AddCSRFToken>
        req - the http request with which to execute this action
        a promise to the action's result