Builder
Functions
Add an header line containing a field name, a literal colon, and a value.
Add a header with the specified name and formatted date. Does validation of header names and value.
Add a header with the specified name and formatted instant. Does validation of header names and value.
Add a header with the specified name and value. Does validation of header names and values.
Adds all headers from an existing collection.
Add a header with the specified name and value. Does validation of header names, allowing non-ASCII values.
Set a field with the specified date. If the field is not found, it is added. If the field is found, the existing values are replaced.
Set a field with the specified instant. If the field is not found, it is added. If the field is found, the existing values are replaced.
Set a field with the specified value. If the field is not found, it is added. If the field is found, the existing values are replaced.