|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.mail.dsn.Report
com.sun.mail.dsn.DispositionNotification
public class DispositionNotification
A message/disposition-notification message content, as defined in RFC 3798.
| Field Summary | |
|---|---|
protected InternetHeaders |
notifications
The disposition notification content fields. |
| Fields inherited from class com.sun.mail.dsn.Report |
|---|
type |
| Constructor Summary | |
|---|---|
DispositionNotification()
Construct a disposition notification with no content. |
|
DispositionNotification(InputStream is)
Construct a disposition notification by parsing the supplied input stream. |
|
| Method Summary | |
|---|---|
InternetHeaders |
getNotifications()
Return all the disposition notification fields in the disposition notification. |
void |
setNotifications(InternetHeaders notifications)
Set the disposition notification fields in the disposition notification. |
String |
toString()
|
void |
writeTo(OutputStream os)
|
| Methods inherited from class com.sun.mail.dsn.Report |
|---|
getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected InternetHeaders notifications
| Constructor Detail |
|---|
public DispositionNotification()
throws MessagingException
MessagingException
public DispositionNotification(InputStream is)
throws MessagingException,
IOException
MessagingException
IOException| Method Detail |
|---|
public InternetHeaders getNotifications()
disposition-notification-content =
[ reporting-ua-field CRLF ]
[ mdn-gateway-field CRLF ]
[ original-recipient-field CRLF ]
final-recipient-field CRLF
[ original-message-id-field CRLF ]
disposition-field CRLF
*( failure-field CRLF )
*( error-field CRLF )
*( warning-field CRLF )
*( extension-field CRLF )
public void setNotifications(InternetHeaders notifications)
public void writeTo(OutputStream os)
throws IOException
IOExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||