注释类型 ResubmitStopper


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ResubmitStopper
    一个用户 相同url同时提交相同数据 验证
    作者:
    Administrator
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      boolean enable
      是否阻止重复提交,默认为true
      org.springframework.web.bind.annotation.RequestMethod[] method
      The HTTP request methods to map to, narrowing the primary mapping: GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE.
    • 元素详细资料

      • enable

        boolean enable
        是否阻止重复提交,默认为true
        返回:
        boolean
        默认值:
        true
      • method

        org.springframework.web.bind.annotation.RequestMethod[] method
        The HTTP request methods to map to, narrowing the primary mapping: GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE. 默认拦截所有非GET请求,这个基本没啥用
        返回:
        RequestMethod[]
        默认值:
        {}