public static class RequestAccessControl.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RequestAccessControl |
build() |
RequestAccessControl.Builder |
copy(RequestAccessControl model) |
RequestAccessControl.Builder |
defaultActionName(String defaultActionName)
References an default Action to take if no AccessControlRule was matched.
|
RequestAccessControl.Builder |
rules(List<AccessControlRule> rules)
Ordered list of AccessControlRules.
|
public RequestAccessControl.Builder defaultActionName(String defaultActionName)
References an default Action to take if no AccessControlRule was matched. Allowed action types:
**ALLOW** continues execution of other modules and their rules.
**RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response.
defaultActionName
- the value to setpublic RequestAccessControl.Builder rules(List<AccessControlRule> rules)
Ordered list of AccessControlRules. Rules are executed in order of appearance in this array.
rules
- the value to setpublic RequestAccessControl build()
public RequestAccessControl.Builder copy(RequestAccessControl model)
Copyright © 2016–2024. All rights reserved.