/** * Returns Content-Type MIME header for this attachment part * * @return Content-Type of the part */ public String getContentType() { if (contentType == null) { getHeaders(); } return contentType; }
/** * Returns Content-Transfer-Encoding MIME header for this attachment part * * @return Content-Transfer-Encoding of the part */ public String getContentTransferEncoding() { if (contentTransferEncoding == null) { getHeaders(); } return contentTransferEncoding; }
/** * Returns Content-ID MIME header for this attachment part * * @return Content-ID of the part */ public String getContentId() { if (contentId == null) { getHeaders(); } return contentId; }
/** * Returns Content-Transfer-Encoding MIME header for this attachment part * * @return Content-Transfer-Encoding of the part */ public String getContentTransferEncoding() { if (contentTransferEncoding == null) { getHeaders(); } return contentTransferEncoding; }
/** * Returns Content-Type MIME header for this attachment part * * @return Content-Type of the part */ public String getContentType() { if (contentType == null) { getHeaders(); } return contentType; }
/** * Returns Content-Type MIME header for this attachment part * * @return Content-Type of the part */ public String getContentType() { if (contentType == null) { getHeaders(); } return contentType; }
/** * Returns Content-ID MIME header for this attachment part * * @return Content-ID of the part */ public String getContentId() { if (contentId == null) { getHeaders(); } return contentId; }
/** * Returns Content-Transfer-Encoding MIME header for this attachment part * * @return Content-Transfer-Encoding of the part */ public String getContentTransferEncoding() { if (contentTransferEncoding == null) { getHeaders(); } return contentTransferEncoding; }
/** * Returns Content-ID MIME header for this attachment part * * @return Content-ID of the part */ public String getContentId() { if (contentId == null) { getHeaders(); } return contentId; }
/** * Returns Content-Type MIME header for this attachment part * * @return Content-Type of the part */ public String getContentType() { if (contentType == null) { getHeaders(); } return contentType; }
/** * Returns Content-ID MIME header for this attachment part * * @return Content-ID of the part */ public String getContentId() { if (contentId == null) { getHeaders(); } return contentId; }
/** * Return all the headers * * @return list of Header objects */ public List<? extends Header> getAllHeaders() { getHeaders(); assert headers != null; return headers.getAllHeaders(); }
/** * Return all the values for the specified header. * Returns <code>null</code> if no headers with the * specified name exist. * * @param name header name * @return list of header values, or null if none */ public List<String> getHeader(String name) { getHeaders(); assert headers != null; return headers.getHeader(name); }
/** * Return all the headers * * @return list of Header objects */ public List<? extends Header> getAllHeaders() { getHeaders(); assert headers != null; return headers.getAllHeaders(); }
/** * Return all the headers * * @return list of Header objects */ public List<? extends Header> getAllHeaders() { getHeaders(); assert headers != null; return headers.getAllHeaders(); }
/** * Return all the headers * * @return list of Header objects */ public List<? extends Header> getAllHeaders() { getHeaders(); assert headers != null; return headers.getAllHeaders(); }
/** * Return all the values for the specified header. * Returns <code>null</code> if no headers with the * specified name exist. * * @param name header name * @return list of header values, or null if none */ public List<String> getHeader(String name) { getHeaders(); assert headers != null; return headers.getHeader(name); }
/** * Return all the values for the specified header. * Returns <code>null</code> if no headers with the * specified name exist. * * @param name header name * @return list of header values, or null if none */ public List<String> getHeader(String name) { getHeaders(); assert headers != null; return headers.getHeader(name); }
/** * Return all the values for the specified header. * Returns <code>null</code> if no headers with the * specified name exist. * * @param name header name * @return list of header values, or null if none */ public List<String> getHeader(String name) { getHeaders(); assert headers != null; return headers.getHeader(name); }