接口 AccessManager
- 所有已知实现类:
HttpHeaderAccessManager
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Provides access control for a
Dispatcher
.- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb
-
字段概要
字段 -
方法概要
修饰符和类型方法说明boolean
isAllowed
(ServerHttpRequest request) Determine if the specific request is allowed to be handled by theDispatcher
.
-
字段详细资料
-
PERMIT_ALL
AccessManager
that permits all requests.
-
-
方法详细资料
-
isAllowed
Determine if the specific request is allowed to be handled by theDispatcher
.- 参数:
request
- the request to check- 返回:
true
if access is allowed.
-