org.mobicents.servlet.sip.address
Class SipURIImpl
java.lang.Object
org.mobicents.servlet.sip.address.ParameterableImpl
org.mobicents.servlet.sip.address.URIImpl
org.mobicents.servlet.sip.address.SipURIImpl
- All Implemented Interfaces:
- java.lang.Cloneable, Parameterable, SipURI, URI
public class SipURIImpl
- extends URIImpl
- implements SipURI
Implementation of the SipURI interface. This is just a thin wrapper on the
JSIP URI interface.
- Author:
- M. Ranganathan
|
Constructor Summary |
SipURIImpl(javax.sip.address.SipURI sipUri)
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.servlet.sip.SipURI |
equals |
SipURIImpl
public SipURIImpl(javax.sip.address.SipURI sipUri)
getSipURI
public javax.sip.address.SipURI getSipURI()
getHeader
public java.lang.String getHeader(java.lang.String name)
- Specified by:
getHeader in interface SipURI
getHeaderNames
public java.util.Iterator<java.lang.String> getHeaderNames()
- Specified by:
getHeaderNames in interface SipURI
getHost
public java.lang.String getHost()
- Specified by:
getHost in interface SipURI
getLrParam
public boolean getLrParam()
- Specified by:
getLrParam in interface SipURI
getPort
public int getPort()
- Specified by:
getPort in interface SipURI
getTTLParam
public int getTTLParam()
- Specified by:
getTTLParam in interface SipURI
getTransportParam
public java.lang.String getTransportParam()
- Specified by:
getTransportParam in interface SipURI
getUser
public java.lang.String getUser()
- Specified by:
getUser in interface SipURI
getUserParam
public java.lang.String getUserParam()
- Specified by:
getUserParam in interface SipURI
getUserPassword
public java.lang.String getUserPassword()
- Specified by:
getUserPassword in interface SipURI
isSecure
public boolean isSecure()
- Specified by:
isSecure in interface SipURI
setHeader
public void setHeader(java.lang.String name,
java.lang.String value)
- Specified by:
setHeader in interface SipURI
setHost
public void setHost(java.lang.String host)
- Specified by:
setHost in interface SipURI
setLrParam
public void setLrParam(boolean flag)
- Specified by:
setLrParam in interface SipURI
setMAddrParam
public void setMAddrParam(java.lang.String maddr)
- Specified by:
setMAddrParam in interface SipURI
setMethodParam
public void setMethodParam(java.lang.String method)
- Specified by:
setMethodParam in interface SipURI
setPort
public void setPort(int port)
- Specified by:
setPort in interface SipURI
setSecure
public void setSecure(boolean b)
- Specified by:
setSecure in interface SipURI
setTTLParam
public void setTTLParam(int ttl)
- Specified by:
setTTLParam in interface SipURI
setTransportParam
public void setTransportParam(java.lang.String transport)
- Specified by:
setTransportParam in interface SipURI
setUser
public void setUser(java.lang.String user)
- Specified by:
setUser in interface SipURI
setUserParam
public void setUserParam(java.lang.String user)
- Specified by:
setUserParam in interface SipURI
setUserPassword
public void setUserPassword(java.lang.String password)
- Specified by:
setUserPassword in interface SipURI
getMAddrParam
public java.lang.String getMAddrParam()
- Specified by:
getMAddrParam in interface SipURI
getMethodParam
public java.lang.String getMethodParam()
- Specified by:
getMethodParam in interface SipURI
toString
public java.lang.String toString()
- Specified by:
toString in interface SipURI- Specified by:
toString in interface URI- Overrides:
toString in class URIImpl
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue in interface Parameterable
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface Parameterable
clone
public SipURI clone()
- Specified by:
clone in interface Parameterable- Specified by:
clone in interface URI- Specified by:
clone in class URIImpl
removeHeader
public void removeHeader(java.lang.String name)
- Specified by:
removeHeader in interface SipURI
setParameter
public void setParameter(java.lang.String name,
java.lang.String value)
- Specified by:
setParameter in interface Parameterable- Specified by:
setParameter in interface URI- Overrides:
setParameter in class ParameterableImpl
Copyright © 2008. All Rights Reserved.