|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.http.DataBindingInboundRequestMapper
public class DataBindingInboundRequestMapper
InboundRequestMapper implementation that binds the request parameter map to
a target instance. The target instance may be a non-singleton bean as
specified by the 'targetBeanName'
property. Otherwise, this mapper's target type must provide a default,
no-arg constructor.
Constructor Summary | |
---|---|
DataBindingInboundRequestMapper()
|
|
DataBindingInboundRequestMapper(Class<?> targetType)
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
void |
setBeanFactory(BeanFactory beanFactory)
Provides the BeanFactory necessary to look up a
'targetBeanName' if specified. |
void |
setTargetBeanName(String targetBeanName)
Specify the name of a bean definition to use when creating the target instance. |
void |
setTargetType(Class<?> targetType)
|
void |
setWebBindingInitializer(WebBindingInitializer webBindingInitializer)
Specify an optional WebBindingInitializer to be invoked prior
to the request binding process. |
Message<?> |
toMessage(javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataBindingInboundRequestMapper()
public DataBindingInboundRequestMapper(Class<?> targetType)
Method Detail |
---|
public void setTargetType(Class<?> targetType)
public void setTargetBeanName(String targetBeanName)
targetType
.
If no 'targetBeanName' value is provided, the target type must provide a default, no-arg constructor.
public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer)
WebBindingInitializer
to be invoked prior
to the request binding process.
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
BeanFactory
necessary to look up a
'targetBeanName'
if specified.
This method is typically invoked automatically by the container.
setBeanFactory
in interface BeanFactoryAware
BeansException
public final void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public Message<?> toMessage(javax.servlet.http.HttpServletRequest request) throws Exception
toMessage
in interface InboundMessageMapper<javax.servlet.http.HttpServletRequest>
Exception
|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |