|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mail.dsn.DeliveryStatus
public class DeliveryStatus
A message/delivery-status message content, as defined in RFC 3464.
Field Summary | |
---|---|
protected javax.mail.internet.InternetHeaders |
messageDSN
The DSN fields for the message. |
protected javax.mail.internet.InternetHeaders[] |
recipientDSN
The DSN fields for each recipient. |
Constructor Summary | |
---|---|
DeliveryStatus()
Construct a delivery status notification with no content. |
|
DeliveryStatus(java.io.InputStream is)
Construct a delivery status notification by parsing the supplied input stream. |
Method Summary | |
---|---|
void |
addRecipientDSN(javax.mail.internet.InternetHeaders h)
Add deliver status notification information for another recipient. |
javax.mail.internet.InternetHeaders |
getMessageDSN()
Return all the per-message fields in the delivery status notification. |
javax.mail.internet.InternetHeaders |
getRecipientDSN(int n)
Return the delivery status notification information for the specified recipient. |
int |
getRecipientDSNCount()
Return the number of recipients for which we have per-recipient delivery status notification information. |
void |
setMessageDSN(javax.mail.internet.InternetHeaders messageDSN)
Set the per-message fields in the delivery status notification. |
java.lang.String |
toString()
|
void |
writeTo(java.io.OutputStream os)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected javax.mail.internet.InternetHeaders messageDSN
protected javax.mail.internet.InternetHeaders[] recipientDSN
Constructor Detail |
---|
public DeliveryStatus() throws javax.mail.MessagingException
javax.mail.MessagingException
public DeliveryStatus(java.io.InputStream is) throws javax.mail.MessagingException, java.io.IOException
javax.mail.MessagingException
java.io.IOException
Method Detail |
---|
public javax.mail.internet.InternetHeaders getMessageDSN()
per-message-fields = [ original-envelope-id-field CRLF ] reporting-mta-field CRLF [ dsn-gateway-field CRLF ] [ received-from-mta-field CRLF ] [ arrival-date-field CRLF ] *( extension-field CRLF )
public void setMessageDSN(javax.mail.internet.InternetHeaders messageDSN)
public int getRecipientDSNCount()
public javax.mail.internet.InternetHeaders getRecipientDSN(int n)
public void addRecipientDSN(javax.mail.internet.InternetHeaders h)
public void writeTo(java.io.OutputStream os) throws java.io.IOException, javax.mail.MessagingException
java.io.IOException
javax.mail.MessagingException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |