接口 WebBindingInitializer
public interface WebBindingInitializer
Callback interface for initializing aWebDataBinder
for performing data binding in the context of a specific web request.- 从以下版本开始:
- 2.5
- 作者:
- Juergen Hoeller, Rossen Stoyanchev
方法概要
所有方法 实例方法 抽象方法 默认方法 已过时的方法 修饰符和类型 方法 说明 void
initBinder(WebDataBinder binder)
Initialize the given DataBinder.default void
initBinder(WebDataBinder binder, WebRequest request)
已过时。as of 5.0 in favor ofinitBinder(WebDataBinder)
方法详细资料
initBinder
void initBinder(WebDataBinder binder)
Initialize the given DataBinder.- 参数:
binder
- the DataBinder to initialize- 从以下版本开始:
- 5.0
initBinder
@Deprecated default void initBinder(WebDataBinder binder, WebRequest request)
已过时。as of 5.0 in favor ofinitBinder(WebDataBinder)
Initialize the given DataBinder for the given (Servlet) request.- 参数:
binder
- the DataBinder to initializerequest
- the web request that the data binding happens within