Class MailService.Header (2.0.0)

public static class MailService.Header

Inheritance

java.lang.Object > MailService.Header

Constructors

Header(String name, String value)

public Header(String name, String value)

Headers are an optional part of messages, but if present, all information about them must be provided.

Parameters
Name Description
name String

The name of the header. It must be present and allowed.

value String

The value of the header. It must be present, and it's content cannot be of zero length.

Methods

getName()

public String getName()

Gets the name of this header.

Returns
Type Description
String

The name of this header.

getValue()

public String getValue()

Gets the value of this header.

Returns
Type Description
String

The value of this header.