Searched refs:headers (Results 1 - 15 of 15) sorted by relevance

/javamail/mail/src/main/java/javax/mail/
H A DFetchProfile.java56 * Messages (Example: to display the top-level headers in a headerlist)
87 private Vector<String> headers; // vector of header names field in class:FetchProfile
169 headers = null;
194 if (headers == null)
195 headers = new Vector<String>();
196 headers.addElement(headerName);
216 return headers != null && headers.contains(headerName);
236 * @return headers set in this profile
239 if (headers
[all...]
/javamail/mail/src/main/java/javax/mail/search/
H A DHeaderTerm.java47 * This class implements comparisons for Message headers.
90 String[] headers;
93 headers = msg.getHeader(headerName);
98 if (headers == null)
101 for (int i=0; i < headers.length; i++)
102 if (super.match(headers[i]))
/javamail/mail/src/main/java/javax/mail/internet/
H A DInternetHeaders.java51 * headers. Given an RFC822 format message stream, it reads lines
58 * and MimeBody use this class for holding their headers.
60 * <hr> <strong>A note on RFC822 and MIME headers</strong><p>
68 * the MIME requirements for the specified headers. In addition, these
71 * SMTP). Received headers may have been folded. The application is
72 * responsible for folding and unfolding headers as appropriate. <p>
94 * for headers of that name, to preserve the order of headers.
96 * the location in the list of headers where new headers ar
301 protected List headers; field in class:InternetHeaders
[all...]
H A DMimeBodyPart.java56 * and store the headers of that body part.
58 * <hr><strong>A note on RFC 822 and MIME headers</strong><p>
62 * in certain portions of certain headers, by encoding those characters.
67 * the MIME requirements for the specified headers. In addition, these
70 * SMTP). Received headers may have been folded. The application is
71 * responsible for folding and unfolding headers as appropriate. <p>
129 * The InternetHeaders object that stores all the headers
132 protected InternetHeaders headers; field in class:MimeBodyPart
155 headers = new InternetHeaders();
180 headers
205 MimeBodyPart(InternetHeaders headers, byte[] content) argument
[all...]
H A DMimeMessage.java68 * store the top level RFC 822 headers of a message. <p>
71 * the parsing of address headers. By default, strict parsing of address
72 * headers is done. If this property is set to <code>"false"</code>,
77 * <hr><strong>A note on RFC 822 and MIME headers</strong><p>
81 * in certain portions of certain headers, by encoding those characters.
86 * the MIME requirements for the specified headers. In addition, these
89 * SMTP). Received headers may have been folded. The application is
90 * responsible for folding and unfolding headers as appropriate. <p>
130 protected InternetHeaders headers; field in class:MimeMessage
179 // Should addresses in headers b
307 MimeMessage(Folder folder, InternetHeaders headers, byte[] content, int msgnum) argument
[all...]
H A DMimeMultipart.java494 * Update headers. The default implementation here just
726 InternetHeaders headers = null;
729 // skip headers
741 // collect the headers for this body part
742 headers = createInternetHeaders(in);
900 part = createMimeBodyPart(headers, buf.toByteArray());
973 * headers from the given InputStream. Subclasses can override
978 * @param is the InputStream to read the headers from
995 * @param headers the headers fo
1001 createMimeBodyPart(InternetHeaders headers, byte[] content) argument
[all...]
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A DMessageHeaders.java50 * A special MimeMessage object that contains only message headers,
51 * no content. Used to represent the MIME type text/rfc822-headers.
81 * @param headers InternetHeaders to use
84 public MessageHeaders(InternetHeaders headers) throws MessagingException { argument
86 this.headers = headers;
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Message.java122 * (which may involve loading the headers,
125 * loading the headers, it will set the size.
130 * loadHeaders() to make sure the headers are only
134 if (headers == null)
186 if (headers == null ||
188 headers = new InternetHeaders(rawcontent);
193 * Already have the headers, have to skip the headers
197 * different headers in the RETR results than were returned
199 * the size of the headers fro
[all...]
/javamail/client/src/main/java/
H A DMessageViewer.java51 TextArea headers; field in class:MessageViewer
70 // add the headers
71 headers = new TextArea("", 4, 80, TextArea.SCROLLBARS_NONE);
72 headers.setEditable(false);
73 add(headers, gb);
92 headers.setText("");
163 headers.setText(sb.toString());
165 headers.setText("");
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPBodyPart.java212 * Return the MIME format stream of headers for this body part.
231 throw new MessagingException("Failed to fetch headers");
235 throw new MessagingException("Failed to fetch headers");
387 // "headers" should never be null since it's set in the constructor.
389 // assignment of "headers".
390 if (headers == null)
391 headers = new InternetHeaders();
393 // load headers
408 throw new MessagingException("Failed to fetch headers");
412 throw new MessagingException("Failed to fetch headers");
[all...]
H A DIMAPMessage.java113 // Indicates that we've loaded *all* headers for this message
119 /* Hashtable of names of headers we've loaded from the server.
121 * of those headers we've attempted to load from the server. We
123 * headers that don't exist for a particular message.
863 return headers.getHeader(name);
902 if (headers == null)
903 headers = new InternetHeaders();
904 headers.load(is); // load this header into the Headers object.
907 return headers.getHeader(name);
920 return headers
[all...]
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DSunV3BodyPart.java64 * @param headers The header of this part
67 public SunV3BodyPart(InternetHeaders headers, byte[] content) argument
69 super(headers, content);
182 * @see #headers
319 * and update the appropriate headers. Typical headers that get
326 * headers. Typically this is triggered off by our writeTo() method.
329 * all its headers from the store, and so does'nt need this.
332 * need to resync our headers. Typically this is triggered off by
H A DSunV3Multipart.java91 * Update headers. Throws MethodNotSupportException.
161 * Collect the headers for this body part.
163 InternetHeaders headers = new InternetHeaders(in);
212 new SunV3BodyPart(headers, buf.toByteArray());
/javamail/outlook/src/main/java/
H A DMSMessage.java106 headers.load(is);
/javamail/
H A Dmail.sig48 hfds headers,specials
797 fld protected java.util.List headers
839 fld protected javax.mail.internet.InternetHeaders headers
905 fld protected javax.mail.internet.InternetHeaders headers

Completed in 41 milliseconds