public static class ProtectionCapabilitySettings.Builder extends Object
Constructor and Description |
---|
Builder() |
public ProtectionCapabilitySettings.Builder maxNumberOfArguments(Integer maxNumberOfArguments)
Maximum number of arguments allowed. Used in protection capability 920380: Number of Arguments Limits.
maxNumberOfArguments
- the value to setpublic ProtectionCapabilitySettings.Builder maxSingleArgumentLength(Integer maxSingleArgumentLength)
Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length.
maxSingleArgumentLength
- the value to setpublic ProtectionCapabilitySettings.Builder maxTotalArgumentLength(Integer maxTotalArgumentLength)
Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length.
maxTotalArgumentLength
- the value to setpublic ProtectionCapabilitySettings.Builder maxHttpRequestHeaders(Integer maxHttpRequestHeaders)
Maximum number of headers allowed in an HTTP request. Used in protection capability 9200014: Limit Number of Request Headers.
maxHttpRequestHeaders
- the value to setpublic ProtectionCapabilitySettings.Builder maxHttpRequestHeaderLength(Integer maxHttpRequestHeaderLength)
Maximum allowed length of headers in an HTTP request. Used in protection capability: 9200024: Limit length of request header size.
maxHttpRequestHeaderLength
- the value to setpublic ProtectionCapabilitySettings.Builder allowedHttpMethods(List<String> allowedHttpMethods)
List of allowed HTTP methods. Each value as a RFC7230 formated token string. Used in protection capability 911100: Restrict HTTP Request Methods.
allowedHttpMethods
- the value to setpublic ProtectionCapabilitySettings build()
public ProtectionCapabilitySettings.Builder copy(ProtectionCapabilitySettings model)
Copyright © 2016–2024. All rights reserved.