Interface MessageHeader.Builder

    • Method Detail

      • name

        MessageHeader.Builder name​(String name)

        The name of the message header. The message header name has to meet the following criteria:

        • Can contain any printable ASCII character (33 - 126) except for colon (:).

        • Can contain no more than 126 characters.

        Parameters:
        name - The name of the message header. The message header name has to meet the following criteria:

        • Can contain any printable ASCII character (33 - 126) except for colon (:).

        • Can contain no more than 126 characters.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        MessageHeader.Builder value​(String value)

        The value of the message header. The message header value has to meet the following criteria:

        • Can contain any printable ASCII character.

        • Can contain no more than 870 characters.

        Parameters:
        value - The value of the message header. The message header value has to meet the following criteria:

        • Can contain any printable ASCII character.

        • Can contain no more than 870 characters.

        Returns:
        Returns a reference to this object so that method calls can be chained together.