spring-framework / org.springframework.validation / DirectFieldBindingResult / <init>

<init>

DirectFieldBindingResult(@Nullable target: Any, objectName: String)

Create a new DirectFieldBindingResult instance.

Parameters

target - the target object to bind onto

objectName - the name of the target object

DirectFieldBindingResult(@Nullable target: Any, objectName: String, autoGrowNestedPaths: Boolean)

Create a new DirectFieldBindingResult instance.

Parameters

target - the target object to bind onto

objectName - the name of the target object

autoGrowNestedPaths - whether to "auto-grow" a nested path that contains a null value