|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.mail.notifications.ReportingUserAgent
public class ReportingUserAgent
Represents a Reporting-UA as specified by RFC 3798.
From RFC 3798, 3.2.2, The Reporting-UA field
reporting-ua-field = "Reporting-UA" ":" ua-name ";" ua-product
For Internet Mail user agents, it is recommended that this field contain both:
the DNS name of the particular instance of the MUA that generated the MDN and the
name of the product
| Constructor Summary | |
|---|---|
ReportingUserAgent(java.lang.String name,
java.lang.String product)
Initializes an instance with the specified user agent name and product name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Gets the user agent's domain name. |
java.lang.String |
getProduct()
Gets the user agent's product |
void |
setName(java.lang.String name)
Sets the user agent's domain name. |
void |
setProduct(java.lang.String product)
Sets the user agent's product. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReportingUserAgent(java.lang.String name,
java.lang.String product)
name - The user agent nameproduct - The user agent product| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The user agent's domain namepublic java.lang.String getProduct()
public void setProduct(java.lang.String product)
product - The user agent's productpublic 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 | |||||||||