Class RequireCSRFCheckAction

    • Constructor Detail

      • RequireCSRFCheckAction

        @Inject
        public RequireCSRFCheckAction​(play.filters.csrf.CSRFConfig config,
                                      play.api.http.SessionConfiguration sessionConfiguration,
                                      play.filters.csrf.CSRF.TokenProvider tokenProvider,
                                      play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner,
                                      Injector injector)
      • RequireCSRFCheckAction

        public RequireCSRFCheckAction​(play.filters.csrf.CSRFConfig config,
                                      play.api.http.SessionConfiguration sessionConfiguration,
                                      play.filters.csrf.CSRF.TokenProvider tokenProvider,
                                      play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner,
                                      CSRFErrorHandler errorHandler)
      • RequireCSRFCheckAction

        public RequireCSRFCheckAction​(play.filters.csrf.CSRFConfig config,
                                      play.api.http.SessionConfiguration sessionConfiguration,
                                      play.filters.csrf.CSRF.TokenProvider tokenProvider,
                                      play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner,
                                      Function<RequireCSRFCheck,​CSRFErrorHandler> configurator)
    • 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<RequireCSRFCheck>
        Parameters:
        req - the http request with which to execute this action
        Returns:
        a promise to the action's result