Annotation FirstBlood
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.METHOD) public @interface FirstBlood
Annotate RequestMapping that requires CAPTCHA support
- Since:
2021-03-10
trydofor
-
-
Method Summary
Modifier and Type Method Description abstract intfirst()The seconds between two requests triggering CAPTCHA, default 0, means CAPTCHA every time. abstract intblood()The seconds of CAPTCHA or disable the duration. abstract intretry()Number of CAPTCHA retry, resend CAPTCHA when exceeded abstract Stringscene()CAPTCHA scenarios, which are passed to the interceptor -
-
Method Detail
-
first
abstract int first()
The seconds between two requests triggering CAPTCHA, default 0, means CAPTCHA every time.
-
blood
abstract int blood()
The seconds of CAPTCHA or disable the duration. In increments of 10s, no more than 1 day is recommended.
-
retry
abstract int retry()
Number of CAPTCHA retry, resend CAPTCHA when exceeded
-
-
-
-