Searched refs:getHeader (Results 1 - 25 of 32) sorted by relevance

12

/javamail/mail/src/test/java/javax/mail/internet/
H A DInternetHeadersTest.java72 assertEquals(1, ih.getHeader("Subject").length);
73 assertEquals("a\r\n b", ih.getHeader("Subject")[0]);
98 assertEquals(1, ih.getHeader("Subject").length);
99 assertEquals("test", ih.getHeader("Subject")[0]);
131 assertEquals(1, ih.getHeader("Subject").length);
132 assertEquals("test", ih.getHeader("Subject")[0]);
H A DAddFromTest.java77 assertEquals("Number of From headers", 1, m.getHeader("From").length);
78 assertEquals("From header", ADDR, m.getHeader("From", ","));
86 assertEquals("Number of From headers", 1, m.getHeader("From").length);
88 m.getHeader("From", ","));
H A DNonAsciiFileNames.java71 String s = mbp.getHeader("Content-Disposition", null);
73 s = mbp.getHeader("Content-Type", null);
89 String s = mbp.getHeader("Content-Disposition", null);
91 s = mbp.getHeader("Content-Type", null);
H A DAddAddressHeaderTest.java77 String[] h = m.getHeader("From");
102 String[] h = m.getHeader(type.toString());
H A DEncodeFileName.java79 String h = mbp.getHeader("Content-Type", "");
85 h = mbp.getHeader("Content-Disposition", "");
H A DNoEncodeFileName.java98 String h = mbp.getHeader("Content-Type", "");
101 h = mbp.getHeader("Content-Disposition", "");
H A DReferencesTest.java119 String rref = reply.getHeader("References", " ");
H A DMimeMessageTest.java109 assertEquals("Joe\r\n Bad <joe@bad.com>", m.getHeader("From", null));
122 assertEquals("Joe\r\n Bad <joe@bad.com>", m.getHeader("Sender", null));
135 assertEquals("alt.bad", m.getHeader("Newsgroups", null));
149 assertTrue(m.getHeader("Newsgroups", null).indexOf("\r\n\t") > 0);
H A DModifyMessageTest.java71 assertEquals("b", m2.getHeader("a", null));
82 assertEquals("test", m2.getHeader("Subject", null));
H A DMimeBodyPartTest.java77 String header = mbp.getHeader("Content-Language", ",");
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DSunV3BodyPart.java83 String s = getHeader("X-Sun-Content-Length", null);
100 String s = getHeader("X-Sun-Content-Lines", null);
158 * This implementation uses <code>getHeader(name)</code>
164 String ct = getHeader("Content-Type", null);
166 ct = getHeader("X-Sun-Data-Type", null);
179 * This implementation uses <code>getHeader(name)</code>
187 enc = getHeader("X-Sun-Encoding-Info", null);
201 * This implementation uses <code>getHeader(name)</code>
209 desc = getHeader("X-Sun-Data-Description", null);
269 name = getHeader("
[all...]
H A DMboxMessage.java327 String s = getHeader("Status", null);
334 s = getHeader("X-Dt-Delete-Time", null); // set by dtmail
337 s = getHeader("X-Status", null); // set by IMAP server
348 s = getHeader("X-Keywords", null); // set by IMAP server
376 String s = msg.getHeader("X-Status", null);
410 s = msg.getHeader("X-Dt-Delete-Time", null);
472 if (getHeader("Content-Length") == null) {
510 public String[] getHeader(String name) method in class:MboxMessage
516 return super.getHeader(name);
523 public String getHeader(Strin method in class:MboxMessage
[all...]
/javamail/mail/src/main/java/javax/mail/search/
H A DMessageIDTerm.java81 s = msg.getHeader("Message-ID");
H A DHeaderTerm.java93 headers = msg.getHeader(headerName);
/javamail/outlook/src/main/java/
H A DMSMessage.java128 String[] att = getHeader("X-MS-Attachment");
196 if (msg.getHeader("MIME-Version") != null)
206 String mailer = msg.getHeader("X-mailer", null);
215 String[] att = msg.getHeader("X-MS-Attachment");
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimePart.java88 public String getHeader(String name, String delimiter) method in interface:MimePart
H A DMimeBodyPart.java267 * This implementation uses <code>getHeader(name)</code>
273 String s = getHeader("Content-Type", null);
308 * This implementation uses <code>getHeader(name)</code>
339 * This implementation uses <code>getHeader(name)</code>
353 * This implementation uses <code>getHeader(name)</code>
357 return getHeader("Content-Id", null);
385 * This implementation uses <code>getHeader(name)</code>
389 return getHeader("Content-MD5", null);
410 * This implementation uses <code>getHeader(name)</code>
438 * This implementation uses <code>getHeader(nam
973 public String[] getHeader(String name) throws MessagingException { method in class:MimeBodyPart
989 public String getHeader(String name, String delimiter) method in class:MimeBodyPart
[all...]
H A DMimeMessage.java364 * This implementation uses the <code>getHeader</code> method
467 * This implementation uses the <code>getHeader</code> method
545 * This implementation uses the <code>getHeader</code> method
562 String s = getHeader("Newsgroups", ",");
702 * This implementation uses the <code>getHeader</code> method
733 String s = getHeader(name, ",");
774 * This implementation uses the <code>getHeader</code> method
782 String rawvalue = getHeader("Subject", null);
865 * This implementation uses the <code>getHeader</code> method
872 String s = getHeader("Dat
1901 public String[] getHeader(String name) method in class:MimeMessage
1918 public String getHeader(String name, String delimiter) method in class:MimeMessage
[all...]
H A DInternetHeaders.java442 public String[] getHeader(String name) { method in class:InternetHeaders
474 public String getHeader(String name, String delimiter) { method in class:InternetHeaders
475 String s[] = getHeader(name);
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A DDispositionNotification.java155 notifications.getHeader("Reporting-UA", null);
H A DDeliveryStatus.java209 messageDSN.getHeader("Reporting-MTA", null) + ", #Recipients=" +
/javamail/mail/src/main/java/javax/mail/
H A DPart.java399 public String[] getHeader(String header_name) method in interface:Part
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Message.java363 public String[] getHeader(String name) method in class:POP3Message
367 return headers.getHeader(name);
382 public String getHeader(String name, String delimiter) method in class:POP3Message
386 return headers.getHeader(name, delimiter);
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPMessage.java538 return super.getHeader("In-Reply-To", " ");
859 public String[] getHeader(String name) throws MessagingException { method in class:IMAPMessage
863 return headers.getHeader(name);
907 return headers.getHeader(name);
913 public String getHeader(String name, String delimiter) method in class:IMAPMessage
917 // force the header to be loaded by invoking getHeader(name)
918 if (getHeader(name) == null)
920 return headers.getHeader(name, delimiter);
H A DIMAPBodyPart.java320 public String[] getHeader(String name) throws MessagingException { method in class:IMAPBodyPart
322 return super.getHeader(name);

Completed in 59 milliseconds

12