org.springframework.integration.http
Class DefaultInboundRequestMapper

java.lang.Object
  extended by org.springframework.integration.http.DefaultInboundRequestMapper
All Implemented Interfaces:
InboundRequestMapper, InboundMessageMapper<javax.servlet.http.HttpServletRequest>

public class DefaultInboundRequestMapper
extends java.lang.Object
implements InboundRequestMapper

Default implementation of InboundRequestMapper for inbound HttpServletRequests. The request will be mapped according to the following rules:

In both cases, the original request headers will be passed in the MessageHeaders. Likewise, the following headers will be added:

Since:
1.0.2
Author:
Mark Fisher

Constructor Summary
DefaultInboundRequestMapper()
           
 
Method Summary
 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

DefaultInboundRequestMapper

public DefaultInboundRequestMapper()
Method Detail

toMessage

public Message<?> toMessage(javax.servlet.http.HttpServletRequest request)
                     throws java.lang.Exception
Specified by:
toMessage in interface InboundMessageMapper<javax.servlet.http.HttpServletRequest>
Throws:
java.lang.Exception