Example usage for org.springframework.web.servlet.mvc.method.annotation ServletRequestDataBinderFactory ServletRequestDataBinderFactory

List of usage examples for org.springframework.web.servlet.mvc.method.annotation ServletRequestDataBinderFactory ServletRequestDataBinderFactory

Introduction

In this page you can find the example usage for org.springframework.web.servlet.mvc.method.annotation ServletRequestDataBinderFactory ServletRequestDataBinderFactory.

Prototype

public ServletRequestDataBinderFactory(@Nullable List<InvocableHandlerMethod> binderMethods,
        @Nullable WebBindingInitializer initializer) 

Source Link

Document

Create a new instance.

Usage

From source file:co.paralleluniverse.springframework.web.servlet.mvc.method.annotation.FiberRequestMappingHandlerAdapter.java

/**
 * Template method to create a new InitBinderDataBinderFactory instance.
 * <p>//from w w w . j ava  2s.c  o  m
 * The default implementation creates a ServletRequestDataBinderFactory.
 * This can be overridden for custom ServletRequestDataBinder subclasses.
 *
 * @param binderMethods {@code @InitBinder} methods
 * @return the InitBinderDataBinderFactory instance to use
 * @throws Exception in case of invalid state or arguments
 */
protected InitBinderDataBinderFactory createDataBinderFactory(List<InvocableHandlerMethod> binderMethods)
        throws Exception {
    return new ServletRequestDataBinderFactory(binderMethods, getWebBindingInitializer());
}