Interface FirstBloodHandler
-
- All Implemented Interfaces:
-
org.springframework.core.Ordered
public interface FirstBloodHandler implements Ordered- Since:
2021-03-11
trydofor
-
-
Method Summary
Modifier and Type Method Description abstract booleanaccept(@NotNull() HttpServletRequest request, @NotNull() FirstBlood anno)Whether the request can be handled, if accept it must be handled. abstract booleanhandle(@NotNull() HttpServletRequest request, @NotNull() HttpServletResponse response, @NotNull() HandlerMethod handler, @NotNull() Cache<Object, Object> cache, @NotNull() FirstBlood anno)Handle the request and response, return whether the Captcha is successful -
-
Method Detail
-
accept
abstract boolean accept(@NotNull() HttpServletRequest request, @NotNull() FirstBlood anno)
Whether the request can be handled, if accept it must be handled.
-
handle
abstract boolean handle(@NotNull() HttpServletRequest request, @NotNull() HttpServletResponse response, @NotNull() HandlerMethod handler, @NotNull() Cache<Object, Object> cache, @NotNull() FirstBlood anno)
Handle the request and response, return whether the Captcha is successful
-
-
-
-