Class AbstractCSPAction

  • Direct Known Subclasses:
    CSPAction

    public abstract class AbstractCSPAction
    extends Action<CSP>
    Processes a request and adds content security policy header.
    • Constructor Detail

      • AbstractCSPAction

        public AbstractCSPAction()
    • Method Detail

      • processor

        public abstract play.filters.csp.CSPProcessor processor()
      • call

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