接口 AccessManager
- 所有已知实现类:
HttpHeaderAccessManager
public interface AccessManager
Provides access control for aDispatcher
.- 从以下版本开始:
- 1.3.0
字段概要
字段 修饰符和类型 字段 说明 static AccessManager
PERMIT_ALL
AccessManager
that permits all requests.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 boolean
isAllowed(org.springframework.http.server.ServerHttpRequest request)
Determine if the specific request is allowed to be handled by theDispatcher
.
字段详细资料
PERMIT_ALL
static final AccessManager PERMIT_ALL
AccessManager
that permits all requests.
方法详细资料
isAllowed
boolean isAllowed(org.springframework.http.server.ServerHttpRequest request)
Determine if the specific request is allowed to be handled by theDispatcher
.- 参数:
request
- the request to check- 返回:
true
if access is allowed.