Class AddCSRFTokenAction

    • Constructor Detail

      • AddCSRFTokenAction

        @Inject
        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>
        Parameters:
        req - the http request with which to execute this action
        Returns:
        a promise to the action's result