Package io.micronaut.email.sendgrid
Class SendgridEmailComposer
java.lang.Object
io.micronaut.email.sendgrid.SendgridEmailComposer
- All Implemented Interfaces:
EmailComposer<com.sendgrid.Request>
@Singleton
public class SendgridEmailComposer
extends Object
implements EmailComposer<com.sendgrid.Request>
Composes
Request
for Email
.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Details
-
SendgridEmailComposer
public SendgridEmailComposer()
-
-
Method Details
-
compose
@NonNull public @NonNull com.sendgrid.Request compose(@NonNull @NotNull @Valid @NonNull @NotNull @Valid Email email) throws EmailException - Specified by:
compose
in interfaceEmailComposer<com.sendgrid.Request>
- Throws:
EmailException
-