Package org.springframework.web.bind

Examples of org.springframework.web.bind.ServletRequestDataBinder.closeNoCatch()


        if (validator.supports(command.getClass())) {
          ValidationUtils.invokeValidator(validator, command, binder.getBindingResult());
        }
      }
    }
    binder.closeNoCatch();
  }

  /**
   * Create a new binder instance for the given command and request.
   * <p>Called by <code>bind</code>. Can be overridden to plug in custom
View Full Code Here


        throws Exception {

      ServletRequestDataBinder servletBinder = (ServletRequestDataBinder) binder;
      servletBinder.bind((ServletRequest) webRequest.getNativeRequest());
      if (failOnErrors) {
        servletBinder.closeNoCatch();
      }
    }

    @Override
    protected Object resolveStandardArgument(Class parameterType, NativeWebRequest webRequest)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.