接口 AccessManager

所有已知实现类:
HttpHeaderAccessManager
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface AccessManager
Provides access control for a Dispatcher.
从以下版本开始:
1.3.0
作者:
Phillip Webb
  • 字段详细资料

  • 方法详细资料

    • isAllowed

      boolean isAllowed(ServerHttpRequest request)
      Determine if the specific request is allowed to be handled by the Dispatcher.
      参数:
      request - the request to check
      返回:
      true if access is allowed.