org.springframework.web.servlet.mvc.method.annotation.ServletRequestDataBinderFactory Java Examples

The following examples show how to use org.springframework.web.servlet.mvc.method.annotation.ServletRequestDataBinderFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: UifRequestMappingHandlerAdapter.java    From rice with Educational Community License v2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
protected ServletRequestDataBinderFactory createDataBinderFactory(
        List<InvocableHandlerMethod> binderMethods) throws Exception {
    return new UifServletRequestDataBinderFactory(binderMethods, getWebBindingInitializer());
}
 
Example #2
Source File: Jackson2RequestMappingHandlerAdapter.java    From gvnix with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Overrides the default implementation to create a
 * {@link Jackson2ServletRequestDataBinderFactory} instance.
 * 
 * @param binderMethods {@code @InitBinder} methods
 * @return the Jackson2ServletRequestDataBinderFactory instance to use
 * @throws Exception in case of invalid state or arguments
 */
protected ServletRequestDataBinderFactory createDataBinderFactory(
        List<InvocableHandlerMethod> binderMethods) throws Exception {
    return new Jackson2ServletRequestDataBinderFactory(binderMethods,
            getWebBindingInitializer());
}