spring-framework / org.springframework.web.bind / ServletRequestDataBinder / <init>

<init>

ServletRequestDataBinder(@Nullable target: Any)

Create a new ServletRequestDataBinder instance, with default object name.

Parameters

target - the target object to bind onto (or null if the binder is just used to convert a plain parameter value)

See Also
#DEFAULT_OBJECT_NAME

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

Create a new ServletRequestDataBinder instance.

Parameters

target - the target object to bind onto (or null if the binder is just used to convert a plain parameter value)

objectName - the name of the target object