Class DefaultMailHeaderMapper
java.lang.Object
org.springframework.integration.mail.support.DefaultMailHeaderMapper
- All Implemented Interfaces:
HeaderMapper<javax.mail.internet.MimeMessage>
public class DefaultMailHeaderMapper extends Object implements HeaderMapper<javax.mail.internet.MimeMessage>
Maps an inbound
MimeMessage
to a Map
.- Since:
- 4.3
- Author:
- Gary Russell
-
Constructor Summary
Constructors Constructor Description DefaultMailHeaderMapper()
-
Method Summary
Modifier and Type Method Description void
fromHeaders(MessageHeaders headers, javax.mail.internet.MimeMessage target)
Map<String,Object>
toHeaders(javax.mail.internet.MimeMessage source)
-
Constructor Details
-
DefaultMailHeaderMapper
public DefaultMailHeaderMapper()
-
-
Method Details
-
fromHeaders
- Specified by:
fromHeaders
in interfaceHeaderMapper<javax.mail.internet.MimeMessage>
-
toHeaders
- Specified by:
toHeaders
in interfaceHeaderMapper<javax.mail.internet.MimeMessage>
-