public class ReportingUserAgent
extends java.lang.Object
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 and Description |
|---|
ReportingUserAgent(java.lang.String name,
java.lang.String product)
Initializes an instance with the specified user agent name and product name.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public ReportingUserAgent(java.lang.String name,
java.lang.String product)
name - The user agent nameproduct - The user agent productpublic 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.ObjectCopyright © 2010-2019 NHIN Direct. All Rights Reserved.