Java 类org.springframework.web.bind.support.WebBindingInitializer 实例源码

项目:lams    文件:HandlerMethodInvoker.java   
public HandlerMethodInvoker(HandlerMethodResolver methodResolver, WebBindingInitializer bindingInitializer,
        SessionAttributeStore sessionAttributeStore, ParameterNameDiscoverer parameterNameDiscoverer,
        WebArgumentResolver[] customArgumentResolvers, HttpMessageConverter<?>[] messageConverters) {

    this.methodResolver = methodResolver;
    this.bindingInitializer = bindingInitializer;
    this.sessionAttributeStore = sessionAttributeStore;
    this.parameterNameDiscoverer = parameterNameDiscoverer;
    this.customArgumentResolvers = customArgumentResolvers;
    this.messageConverters = messageConverters;
}
项目:spring4-understanding    文件:HandlerMethodInvoker.java   
public HandlerMethodInvoker(HandlerMethodResolver methodResolver, WebBindingInitializer bindingInitializer,
        SessionAttributeStore sessionAttributeStore, ParameterNameDiscoverer parameterNameDiscoverer,
        WebArgumentResolver[] customArgumentResolvers, HttpMessageConverter<?>[] messageConverters) {

    this.methodResolver = methodResolver;
    this.bindingInitializer = bindingInitializer;
    this.sessionAttributeStore = sessionAttributeStore;
    this.parameterNameDiscoverer = parameterNameDiscoverer;
    this.customArgumentResolvers = customArgumentResolvers;
    this.messageConverters = messageConverters;
}
项目:class-guard    文件:HandlerMethodInvoker.java   
public HandlerMethodInvoker(HandlerMethodResolver methodResolver, WebBindingInitializer bindingInitializer,
        SessionAttributeStore sessionAttributeStore, ParameterNameDiscoverer parameterNameDiscoverer,
        WebArgumentResolver[] customArgumentResolvers, HttpMessageConverter[] messageConverters) {

    this.methodResolver = methodResolver;
    this.bindingInitializer = bindingInitializer;
    this.sessionAttributeStore = sessionAttributeStore;
    this.parameterNameDiscoverer = parameterNameDiscoverer;
    this.customArgumentResolvers = customArgumentResolvers;
    this.messageConverters = messageConverters;
}
项目:fuwesta    文件:ServletBindingService.java   
private DataBinder bindInternal(HttpServletRequest request, Model model,
        Object object, String objectName) {
    final WebBindingInitializer wbi =
            requestMappingHandlerAdapter.getWebBindingInitializer();
    ExtendedServletRequestDataBinder binder =
            new ExtendedServletRequestDataBinder(object, objectName);
    wbi.initBinder(binder, new ServletWebRequest(request));
    initBinder(binder);
    binder.bind(request);
    model.addAttribute(objectName, object);
    model.addAttribute("org.springframework.validation.BindingResult."
            + objectName, binder.getBindingResult());
    return binder;
}
项目:lams    文件:HandlerMethodInvoker.java   
public HandlerMethodInvoker(HandlerMethodResolver methodResolver, WebBindingInitializer bindingInitializer) {
    this(methodResolver, bindingInitializer, new DefaultSessionAttributeStore(), null, null, null);
}
项目:spring4-understanding    文件:RequestMappingHandlerAdapter.java   
/**
 * Return the configured WebBindingInitializer, or {@code null} if none.
 */
public WebBindingInitializer getWebBindingInitializer() {
    return this.webBindingInitializer;
}
项目:spring4-understanding    文件:HandlerMethodInvoker.java   
public HandlerMethodInvoker(HandlerMethodResolver methodResolver, WebBindingInitializer bindingInitializer) {
    this(methodResolver, bindingInitializer, new DefaultSessionAttributeStore(), null, null, null);
}
项目:class-guard    文件:RequestMappingHandlerAdapter.java   
/**
 * Return the configured WebBindingInitializer, or {@code null}.
 */
public WebBindingInitializer getWebBindingInitializer() {
    return webBindingInitializer;
}
项目:class-guard    文件:HandlerMethodInvoker.java   
public HandlerMethodInvoker(HandlerMethodResolver methodResolver, WebBindingInitializer bindingInitializer) {
    this(methodResolver, bindingInitializer, new DefaultSessionAttributeStore(), null, null, null);
}
项目:jresplus    文件:ExtendableAnnotationMethodHandlerAdapter.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public void setWebBindingInitializer(
        WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:lams    文件:InitBinderDataBinderFactory.java   
/**
 * Create a new instance.
 * @param binderMethods {@code @InitBinder} methods, or {@code null}
 * @param initializer for global data binder intialization
 */
public InitBinderDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) {
    super(initializer);
    this.binderMethods = (binderMethods != null) ? binderMethods : new ArrayList<InvocableHandlerMethod>();
}
项目:spring4-understanding    文件:AnnotationMethodHandlerAdapter.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:spring4-understanding    文件:AnnotationMethodHandlerAdapter.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:spring4-understanding    文件:MultiActionController.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 * <p>Allows for factoring out the entire binder configuration
 * to separate objects, as an alternative to {@link #initBinder}.
 */
public final void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:spring4-understanding    文件:MultiActionController.java   
/**
 * Return the WebBindingInitializer (if any) which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public final WebBindingInitializer getWebBindingInitializer() {
    return this.webBindingInitializer;
}
项目:spring4-understanding    文件:ServletRequestDataBinderFactory.java   
/**
 * Create a new instance.
 * @param binderMethods one or more {@code @InitBinder} methods
 * @param initializer provides global data binder initialization
 */
public ServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) {
    super(binderMethods, initializer);
}
项目:spring4-understanding    文件:RequestMappingHandlerAdapter.java   
/**
 * Provide a WebBindingInitializer with "global" initialization to apply
 * to every DataBinder instance.
 */
public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:spring4-understanding    文件:InitBinderDataBinderFactory.java   
/**
 * Create a new instance.
 * @param binderMethods {@code @InitBinder} methods, or {@code null}
 * @param initializer for global data binder intialization
 */
public InitBinderDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) {
    super(initializer);
    this.binderMethods = (binderMethods != null) ? binderMethods : new ArrayList<InvocableHandlerMethod>();
}
项目:gvnix1    文件:Jackson2ServletRequestDataBinderFactory.java   
/**
 * Create a new instance.
 * 
 * @param binderMethods one or more {@code @InitBinder} methods
 * @param initializer provides global data binder initialization
 */
public Jackson2ServletRequestDataBinderFactory(
        List<InvocableHandlerMethod> binderMethods,
        WebBindingInitializer initializer) {
    super(binderMethods, initializer);
}
项目:kc-rice    文件:UifServletRequestDataBinderFactory.java   
/**
 * Create a new instance.
 *
 * @param binderMethods one or more {@code @InitBinder} methods
 * @param initializer provides global data binder initialization
 */
public UifServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods,
        WebBindingInitializer initializer) {
    super(binderMethods, initializer);
}
项目:openmrs-module-legacyui    文件:BaseCommandController.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 * <p>Allows for factoring out the entire binder configuration
 * to separate objects, as an alternative to {@link #initBinder}.
 */
public final void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:openmrs-module-legacyui    文件:BaseCommandController.java   
/**
 * Return the WebBindingInitializer (if any) which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public final WebBindingInitializer getWebBindingInitializer() {
    return this.webBindingInitializer;
}
项目:class-guard    文件:AnnotationMethodHandlerAdapter.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:class-guard    文件:BaseCommandController.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 * <p>Allows for factoring out the entire binder configuration
 * to separate objects, as an alternative to {@link #initBinder}.
 */
public final void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:class-guard    文件:BaseCommandController.java   
/**
 * Return the WebBindingInitializer (if any) which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public final WebBindingInitializer getWebBindingInitializer() {
    return this.webBindingInitializer;
}
项目:class-guard    文件:AnnotationMethodHandlerAdapter.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:class-guard    文件:BaseCommandController.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 * <p>Allows for factoring out the entire binder configuration
 * to separate objects, as an alternative to {@link #initBinder}.
 */
public final void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:class-guard    文件:BaseCommandController.java   
/**
 * Return the WebBindingInitializer (if any) which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public final WebBindingInitializer getWebBindingInitializer() {
    return this.webBindingInitializer;
}
项目:class-guard    文件:MultiActionController.java   
/**
 * Specify a WebBindingInitializer which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 * <p>Allows for factoring out the entire binder configuration
 * to separate objects, as an alternative to {@link #initBinder}.
 */
public final void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:class-guard    文件:MultiActionController.java   
/**
 * Return the WebBindingInitializer (if any) which will apply pre-configured
 * configuration to every DataBinder that this controller uses.
 */
public final WebBindingInitializer getWebBindingInitializer() {
    return this.webBindingInitializer;
}
项目:class-guard    文件:ServletRequestDataBinderFactory.java   
/**
 * Create a new instance.
 * @param binderMethods one or more {@code @InitBinder} methods
 * @param initializer provides global data binder initialization
 */
public ServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) {
    super(binderMethods, initializer);
}
项目:class-guard    文件:RequestMappingHandlerAdapter.java   
/**
 * Provide a WebBindingInitializer with "global" initialization to apply
 * to every DataBinder instance.
 */
public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) {
    this.webBindingInitializer = webBindingInitializer;
}
项目:class-guard    文件:InitBinderDataBinderFactory.java   
/**
 * Create a new instance.
 * @param binderMethods {@code @InitBinder} methods, or {@code null}
 * @param initializer for global data binder intialization
 */
public InitBinderDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) {
    super(initializer);
    this.binderMethods = (binderMethods != null) ? binderMethods : new ArrayList<InvocableHandlerMethod>();
}
项目:rice    文件:UifServletRequestDataBinderFactory.java   
/**
 * Create a new instance.
 *
 * @param binderMethods one or more {@code @InitBinder} methods
 * @param initializer provides global data binder initialization
 */
public UifServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods,
        WebBindingInitializer initializer) {
    super(binderMethods, initializer);
}
项目:kuali_rice    文件:UifServletRequestDataBinderFactory.java   
/**
 * Create a new instance.
 *
 * @param binderMethods one or more {@code @InitBinder} methods
 * @param initializer provides global data binder initialization
 */
public UifServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods,
        WebBindingInitializer initializer) {
    super(binderMethods, initializer);
}
项目:gvnix    文件:Jackson2ServletRequestDataBinderFactory.java   
/**
 * Create a new instance.
 * 
 * @param binderMethods one or more {@code @InitBinder} methods
 * @param initializer provides global data binder initialization
 */
public Jackson2ServletRequestDataBinderFactory(
        List<InvocableHandlerMethod> binderMethods,
        WebBindingInitializer initializer) {
    super(binderMethods, initializer);
}