Interface EmailBodyConverter<T>

All Known Implementing Classes:
TextEmailBodyConverter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface EmailBodyConverter<T>
  • Method Summary

    Modifier and Type Method Description
    T convert​(javax.mail.internet.MimeMessage mimeMessage)
    Convert the received message to the desired format.
  • Method Details

    • convert

      T convert​(javax.mail.internet.MimeMessage mimeMessage)
      Convert the received message to the desired format. It may throw EmailBodyConvertionException upon failure.
      Parameters:
      mimeMessage - the mime message to be converted
      Returns:
      the converted value