Annotation Interface RequireCSRFCheck


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface RequireCSRFCheck
This action requires a CSRF check.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Calls a implementation class for handling the CSRF error.
  • Element Details

    • error

      Class<? extends CSRFErrorHandler> error
      Calls a implementation class for handling the CSRF error.
      Returns:
      the subtype of CSRFErrorHandler
      See Also:
      Default:
      play.filters.csrf.CSRFErrorHandler.DefaultCSRFErrorHandler.class