public class ReportingUserAgent extends 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(String name,
String product)
Initializes an instance with the specified user agent name and product name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the user agent's domain name.
|
String |
getProduct()
Gets the user agent's product
|
void |
setName(String name)
Sets the user agent's domain name.
|
void |
setProduct(String product)
Sets the user agent's product.
|
String |
toString() |
public String getName()
public void setName(String name)
name - The user agent's domain namepublic String getProduct()
public void setProduct(String product)
product - The user agent's productCopyright © 2010-2016 NHIN Direct. All Rights Reserved.