public interface IPolicy
Modifier and Type | Method and Description |
---|---|
PolicyResult |
apply(IRequest request)
Applies the policy check to the request.
|
PolicyResult apply(IRequest request)
The policy can update fields in the request, to add additional values or to restrict the values to pre-determined ranges.
request
- the request to check