|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(java.lang.Class<?> targetType)
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Provides the BeanFactory necessary to look up a
'targetBeanName' if specified. |
void |
setTargetBeanName(java.lang.String targetBeanName)
Specify the name of a bean definition to use when creating the target instance. |
void |
setTargetType(java.lang.Class<?> targetType)
|
void |
setWebBindingInitializer(org.springframework.web.bind.support.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(java.lang.Class<?> targetType)
| Method Detail |
|---|
public void setTargetType(java.lang.Class<?> targetType)
public void setTargetBeanName(java.lang.String targetBeanName)
targetType.
If no 'targetBeanName' value is provided, the target type must provide a default, no-arg constructor.
public void setWebBindingInitializer(org.springframework.web.bind.support.WebBindingInitializer webBindingInitializer)
WebBindingInitializer to be invoked prior
to the request binding process.
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
BeanFactory necessary to look up a
'targetBeanName' if specified.
This method is typically invoked automatically by the container.
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic final void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
public Message<?> toMessage(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
toMessage in interface InboundMessageMapper<javax.servlet.http.HttpServletRequest>java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||