getHeaderValAndParams (MIMEHeader - Java)

Returns the complete header.

Defined in

MIMEHeader

Syntax

public String getHeaderValAndParams( )
     throws NotesException
public String getHeaderValAndParams(boolean folded)
     throws NotesException
public String getHeaderValAndParams(boolean folded, boolean decoded)
     throws NotesException

Parameters

boolean folded
  • true formats for multi-line representation per the RFC-822 concept of folding
  • false (default) formats for single-line representation per the RFC-822 concept of unfolding
boolean decoded
  • true decodes any RFC-2047 encodings
  • false (default) retains any encodings; false is enforced if folded is true

Return value

String

The header value and any parameters.

Usage

Folding terminates the header with a CRLF. Depending on length (1024 for X-Notes-Item headers and 78 for other headers), folding inserts CRLFs to break the header into multiple lines. Folding also inserts CRLFs after semicolons and commas. Unfolding removes all CRLFs.

Example