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