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 Details

    • DefaultMailHeaderMapper

      public DefaultMailHeaderMapper()
  • Method Details

    • fromHeaders

      public void fromHeaders(MessageHeaders headers, javax.mail.internet.MimeMessage target)
      Specified by:
      fromHeaders in interface HeaderMapper<javax.mail.internet.MimeMessage>
    • toHeaders

      public Map<String,Object> toHeaders(javax.mail.internet.MimeMessage source)
      Specified by:
      toHeaders in interface HeaderMapper<javax.mail.internet.MimeMessage>