public class Partner
extends java.lang.Object
| Constructor and Description |
|---|
Partner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDispositionAddress()
Get the Location for receiving Disposition Notifications.
|
java.lang.String |
getDispositionOptions() |
java.lang.String |
getEmail() |
java.lang.String |
getId() |
java.lang.String |
getRecipientAddress() |
int |
hashCode() |
void |
setDispositionAddress(java.lang.String url)
Set the disposition URL to be used if an asynchronous MDN is expected.
|
void |
setDispositionOptions(java.lang.String options)
Set the disposition options.
|
void |
setEmail(java.lang.String s) |
void |
setId(java.lang.String id)
Set the ID for this partner.
|
void |
setRecipientAddress(java.lang.String addr)
Set the recipient address.
|
public java.lang.String getId()
setId(String)public void setId(java.lang.String id)
The ID field will be used for either the AS2-To or
AS2-From header field.
id - the id to setpublic java.lang.String getDispositionAddress()
If set, this field will be used for the
Disposition-Notification-To header.
setDispositionAddress(String)public void setDispositionAddress(java.lang.String url)
If set, then this forms the value of the
Receipt-Delivery-Option header.
url - the disposition URL to setpublic java.lang.String getRecipientAddress()
setRecipientAddress(String)public void setRecipientAddress(java.lang.String addr)
If set, this will be used for the Recipient-Address header.
addr - the receipient address to setpublic java.lang.String getDispositionOptions()
setDispositionOptions(String)public void setDispositionOptions(java.lang.String options)
If set, this will be used for the
Disposition-Notification-Options header.
Generally what you would use is
signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1
you can consult RFC4130
for more information.
options - the disposition options to setpublic java.lang.String getEmail()
public void setEmail(java.lang.String s)
s - the email to setpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object