org.springframework.web.bind.annotation.InitBinder |
Annotation that identifies methods which initialize the
WebDataBinder
which
will be used for populating command and form object arguments
of annotated handler methods.
Such init-binder methods support all arguments that RequestMapping
supports, except for command/form objects and corresponding validation result
objects. Init-binder methods must not have a return value; they are usually
declared as void
.
Typical arguments are WebDataBinder
in combination with WebRequest
or Locale
, allowing to register context-specific editors.
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
|