Interface AccessManager
- All Known Implementing Classes:
HttpHeaderAccessManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides access control for a
Dispatcher.- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AccessManagerAccessManagerthat permits all requests. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAllowed(ServerHttpRequest request) Determine if the specific request is allowed to be handled by theDispatcher.
-
Field Details
-
PERMIT_ALL
AccessManagerthat permits all requests.
-
-
Method Details
-
isAllowed
Determine if the specific request is allowed to be handled by theDispatcher.- Parameters:
request- the request to check- Returns:
trueif access is allowed.
-