|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.servlet.sip.appRouter.DFCRouterImpl.OriginatingAddress
public class OriginatingAddress
This class represents an originating address as derived from a SipServletRequest. For the DFC router implementation, the originating address consists of the From header value in the SIP request message. Thus, the address includes the display-name if present, the URI, and all the parameters.
Constructor Summary | |
---|---|
OriginatingAddress(SipServletRequest r)
|
Method Summary | |
---|---|
URI |
getSubscriberURI()
Return the subscriber URI associated with this originating address. |
boolean |
hasChanged(java.lang.String oldAddressName)
Determines whether this originating address differs from the string representation of another originating address passed as a parameter. |
java.lang.String |
toCompareString()
Return a String that represents a version of the originating address that can be compared with other originating addresses to determine a match. |
java.lang.String |
toString()
Returns a string representation of the originating address |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OriginatingAddress(SipServletRequest r)
Method Detail |
---|
public java.lang.String toCompareString()
toCompareString
in interface Address
public java.lang.String toString()
toString
in interface Address
toString
in class java.lang.Object
public boolean hasChanged(java.lang.String oldAddressName)
hasChanged
in interface Address
oldAddressName
- The string representation of an originating address that this address
to be compared to
true
if this originating address has changed (is different
from) the old address, otherwise false
public URI getSubscriberURI()
getSubscriberURI
in interface Address
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |