Class EmailResource
java.lang.Object
com.google.gerrit.server.mail.send.EmailResource
Email resource that can be attached to an email.
Can be used for images included in html body of the email.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract com.google.protobuf.ByteString
content()
Unencoded data that should be added to the emailabstract String
Value of Content-ID header used for referring to the resource from html body of the email.abstract String
MIME type of the resource.static EmailResource
-
Constructor Details
-
EmailResource
public EmailResource()
-
-
Method Details
-
create
public static EmailResource create(String contentId, String contentType, com.google.protobuf.ByteString content) -
contentId
Value of Content-ID header used for referring to the resource from html body of the email. -
contentType
MIME type of the resource. -
content
public abstract com.google.protobuf.ByteString content()Unencoded data that should be added to the email
-