Interface FirstBloodHandler

  • All Implemented Interfaces:
    org.springframework.core.Ordered

    
    public interface FirstBloodHandler
     implements Ordered
                        
    Since:

    2021-03-11

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean accept(@NotNull() HttpServletRequest request, @NotNull() FirstBlood anno) Whether the request can be handled, if accept it must be handled.
      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
      • Methods inherited from class org.springframework.core.Ordered

        getOrder
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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