Get all the headers for this header_name. Note that certain headers may be encoded as per RFC 2047 if they contain non US-ASCII characters and these should be decoded. @param name name of header @return array of headers @exception MessagingException for failures @see javax.mail.internet.MimeUt
(String name)
| 341 | * @see javax.mail.internet.MimeUtility |
| 342 | */ |
| 343 | @Override |
| 344 | public String[] getHeader(String name) |
| 345 | throws MessagingException { |
| 346 | if (headers == null) |
| 347 | loadHeaders(); |
| 348 | return headers.getHeader(name); |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * Get all the headers for this header name, returned as a single |
no test coverage detected