|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.data.RecipientInfo
public class RecipientInfo
Describes an intermediary via which the call went through. The intermediary
is typically a proxy or a cache.
Note that when used with HTTP connectors, this class maps to the "Via"
header.
Constructor Summary | |
---|---|
RecipientInfo()
Default constructor. |
|
RecipientInfo(Protocol protocol,
String name,
String agent)
Constructor. |
Method Summary | |
---|---|
String |
getComment()
Returns the optional comment, typically the software agent name. |
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(String comment)
Sets the optional comment, typically the software agent name. |
void |
setName(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecipientInfo()
public RecipientInfo(Protocol protocol, String name, 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.Method Detail |
---|
public String getComment()
public String getName()
public Protocol getProtocol()
public void setComment(String comment)
comment
- The optional comment.public void setName(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |