Class ScimFilterLimits.Builder
java.lang.Object
com.revetsec.scim.ScimFilterLimits.Builder
- Enclosing class:
ScimFilterLimits
Mutable, non-thread-safe filter-limit configuration. Null restores the registered default.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Checks all registered bounds and creates an immutable snapshot.maximumDepth(@Nullable Integer value) Sets the AST depth limit: default 16, range 4–64 levels.Sets the expression limit: default 4,096, range 256–65,536 UTF-16 units.Sets the decoded literal limit: default 2,048, range 1–16,384 UTF-16 units, within the expression limit.maximumNodes(@Nullable Integer value) Sets the AST node limit: default 128, range 8–4,096.Sets the number-text limit: default 64, range 1–256 UTF-16 units.Sets the exponent-magnitude limit: default 1,000, range 0–10,000.
-
Method Details
-
maximumExpressionCharacters
Sets the expression limit: default 4,096, range 256–65,536 UTF-16 units.- Parameters:
value- the limit, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
maximumDepth
Sets the AST depth limit: default 16, range 4–64 levels.- Parameters:
value- the limit, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
maximumNodes
Sets the AST node limit: default 128, range 8–4,096.- Parameters:
value- the limit, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
maximumLiteralCharacters
Sets the decoded literal limit: default 2,048, range 1–16,384 UTF-16 units, within the expression limit.- Parameters:
value- the limit, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
maximumNumberCharacters
Sets the number-text limit: default 64, range 1–256 UTF-16 units.- Parameters:
value- the limit, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
maximumNumberExponentMagnitude
Sets the exponent-magnitude limit: default 1,000, range 0–10,000.- Parameters:
value- the limit, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
build
Checks all registered bounds and creates an immutable snapshot.- Returns:
- filter limits
- Since:
- 1.0.0
-