@FunctionalInterface public interface AccessManager
Dispatcher
.Modifier and Type | Field and Description |
---|---|
static AccessManager |
PERMIT_ALL
AccessManager that permits all requests. |
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowed(ServerHttpRequest request)
Determine if the specific request is allowed to be handled by the
Dispatcher . |
static final AccessManager PERMIT_ALL
AccessManager
that permits all requests.boolean isAllowed(ServerHttpRequest request)
Dispatcher
.request
- the request to checktrue
if access is allowed.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.