public class RecipientInfo
extends java.lang.Object
| Constructor and Description | 
|---|
RecipientInfo()
Default constructor. 
 | 
RecipientInfo(Protocol protocol,
             java.lang.String name,
             java.lang.String agent)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getComment()
Returns the optional comment, typically the software agent name. 
 | 
java.lang.String | 
getName()
Returns the host name and port number or a pseudonym. 
 | 
Protocol | 
getProtocol()
Returns the protocol used to communicate with the recipient. 
 | 
void | 
setComment(java.lang.String comment)
Sets the optional comment, typically the software agent name. 
 | 
void | 
setName(java.lang.String name)
Sets the host name and port number or a pseudonym. 
 | 
void | 
setProtocol(Protocol protocol)
Sets the protocol used to communicate with the recipient. 
 | 
public RecipientInfo()
public RecipientInfo(Protocol protocol, java.lang.String name, java.lang.String agent)
protocol - The protocol used to communicate with the recipient.name - The host name and port number or a pseudonym.agent - The software agent.public java.lang.String getComment()
public java.lang.String getName()
public Protocol getProtocol()
public void setComment(java.lang.String comment)
comment - The optional comment.public void setName(java.lang.String name)
name - The host name and port number or a pseudonym.public void setProtocol(Protocol protocol)
protocol - The protocol used to communicate with the recipient.Copyright © 2005-2024 Restlet.