类 SaFirewallCheckHookForBlackPath

java.lang.Object
cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
所有已实现的接口:
SaFirewallCheckHook

public class SaFirewallCheckHookForBlackPath extends Object implements SaFirewallCheckHook
防火墙策略校验钩子函数:请求 path 黑名单校验
从以下版本开始:
1.41.0
作者:
click33
  • 字段详细资料

  • 构造器详细资料

    • SaFirewallCheckHookForBlackPath

      public SaFirewallCheckHookForBlackPath()
  • 方法详细资料

    • resetConfig

      public void resetConfig(String... paths)
      重载配置
      参数:
      paths - 黑名单 path 列表
    • execute

      public void execute(SaRequest req, SaResponse res, Object extArg)
      执行的方法
      指定者:
      execute 在接口中 SaFirewallCheckHook
      参数:
      req - 请求对象
      res - 响应对象
      extArg - 扩展预留参数