1 package javax.sip.address; 2 3 import java.text.ParseException; 4 import java.util.Iterator; 5 import javax.sip.header.Parameters; 6 import javax.sip.InvalidArgumentException; 7 8 public interface SipURI extends URI, Parameters { isSecure()9 boolean isSecure(); setSecure(boolean secure)10 void setSecure(boolean secure); 11 getHeader(String name)12 String getHeader(String name); setHeader(String name, String value)13 void setHeader(String name, String value); getHeaderNames()14 Iterator getHeaderNames(); 15 getHost()16 String getHost(); setHost(String host)17 void setHost(String host) throws ParseException; 18 getLrParam()19 String getLrParam(); setLrParam()20 void setLrParam(); hasLrParam()21 boolean hasLrParam(); 22 getMAddrParam()23 String getMAddrParam(); setMAddrParam(String mAddrParam)24 void setMAddrParam(String mAddrParam) throws ParseException; 25 getPort()26 int getPort(); setPort(int port)27 void setPort(int port) throws InvalidArgumentException; 28 getTTLParam()29 int getTTLParam(); setTTLParam(int ttlParam)30 void setTTLParam(int ttlParam); 31 getTransportParam()32 String getTransportParam(); setTransportParam(String transportParam)33 void setTransportParam(String transportParam) throws ParseException; hasTransport()34 boolean hasTransport(); 35 getUser()36 String getUser(); setUser(String user)37 void setUser(String user); getUserParam()38 String getUserParam(); setUserParam(String userParam)39 void setUserParam(String userParam); 40 getUserType()41 String getUserType(); removeUserType()42 void removeUserType(); 43 getUserPassword()44 String getUserPassword(); setUserPassword(String userPassword)45 void setUserPassword(String userPassword); 46 getUserAtHost()47 String getUserAtHost(); getUserAtHostPort()48 String getUserAtHostPort(); 49 getMethodParam()50 String getMethodParam(); setMethodParam(String methodParam)51 void setMethodParam(String methodParam) throws ParseException; 52 } 53 54