|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.core.GenericObject | +--gov.nist.javax.sip.address.NetObject | +--gov.nist.javax.sip.address.Authority
Authority part of a URI structure. Section 3.2.2 RFC2396
Constructor Summary | |
Authority()
|
Method Summary | |
String |
encode()
Return the host name in encoded form. |
boolean |
equals(Object other)
retruns true if the two Objects are equals , false otherwise. |
Host |
getHost()
Get the host name. |
HostPort |
getHostPort()
get the hostPort member. |
String |
getPassword()
Get password from the user info. |
int |
getPort()
Get the port. |
String |
getUser()
Get the user name if it exists. |
UserInfo |
getUserInfo()
get the userInfo memnber. |
void |
removePort()
remove the port. |
void |
removeUserInfo()
Remove the user Infor. |
void |
setHost(Host host)
set the host. |
void |
setHostPort(HostPort h)
Set the hostPort member |
void |
setPassword(String passwd)
set the password. |
void |
setPort(int port)
Set the port. |
void |
setUser(String user)
Set the user name of the userInfo member. |
void |
setUserInfo(UserInfo u)
Set the userInfo member |
Methods inherited from class gov.nist.javax.sip.address.NetObject |
clone, debugDump, debugDump, match, merge, replace, replace, replace, replace, toString |
Methods inherited from class gov.nist.core.GenericObject |
getClassFromName, getMatcher, isMySubclass, setMatcher |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Authority()
Method Detail |
public String encode()
encode
in class NetObject
public boolean equals(Object other)
equals
in class NetObject
other
- Object to test.
public HostPort getHostPort()
public UserInfo getUserInfo()
public String getPassword()
public String getUser()
public Host getHost()
public int getPort()
public void removePort()
public void setPassword(String passwd)
passwd
- String to setpublic void setUser(String user)
user
- String to setpublic void setHost(Host host)
host
- Host to setpublic void setPort(int port)
port
- int to setpublic void setHostPort(HostPort h)
h
- HostPort to setpublic void setUserInfo(UserInfo u)
u
- UserInfo to setpublic void removeUserInfo()
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |