MCPcopy Create free account
hub / github.com/M66B/FairEmail / getHeader

Method getHeader

app/src/main/java/com/sun/mail/pop3/POP3Message.java:343–349  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 1

fetchMethod · 0.95

Calls 2

loadHeadersMethod · 0.95
getHeaderMethod · 0.65

Tested by

no test coverage detected