Interface EmailComposer<I>

Type Parameters:
I - Email Request
All Known Implementing Classes:
JavaxEmailComposer, MailjetEmailComposer, PostmarkEmailComposer, SendgridEmailComposer, SesEmailComposer
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 EmailComposer<I>
Composes an Email Request for the Transactional Email provider given a Email.
Since:
1.0.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    compose(@NonNull @NotNull @Valid Email email)
     
    default I
    compose(@NonNull @NotNull @Valid Email email, Consumer<I> emailRequest)