Class SpelParserConfiguration.Builder

java.lang.Object
org.springframework.expression.spel.SpelParserConfiguration.Builder
Enclosing class:
SpelParserConfiguration

public static final class SpelParserConfiguration.Builder extends Object
Fluent builder API for SpelParserConfiguration.

Each property defaults to the same value as the corresponding property in a SpelParserConfiguration created via the no-arg constructor — including honoring the system properties or Spring properties named "spring.expression.compiler.mode", "spring.expression.maxOperations", and "spring.expression.maxBigPowerBits" — with one exception: maximumAutoGrowSize defaults to 256 rather than Integer.MAX_VALUE, for consistency with the default auto-grow limit used for Spring's data binding support (see DataBinder.DEFAULT_AUTO_GROW_COLLECTION_LIMIT).

Only configure the properties that need to deviate from those defaults.

Since:
7.0.10
Author:
Juergen Hoeller, Phillip Webb, Andy Clement, Sam Brannen
See Also: