• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package javax.sip.message;
2 
3 import java.text.ParseException;
4 
5 public interface Response extends Message {
6     int TRYING = 100;
7     int RINGING = 180;
8     int CALL_IS_BEING_FORWARDED = 181;
9     int QUEUED = 182;
10     int SESSION_PROGRESS = 183;
11     int OK = 200;
12     int ACCEPTED = 202;
13     int MULTIPLE_CHOICES = 300;
14     int MOVED_PERMANENTLY = 301;
15     int MOVED_TEMPORARILY = 302;
16     int USE_PROXY = 305;
17     int ALTERNATIVE_SERVICE = 380;
18     int BAD_REQUEST = 400;
19     int UNAUTHORIZED = 401;
20     int PAYMENT_REQUIRED = 402;
21     int FORBIDDEN = 403;
22     int NOT_FOUND = 404;
23     int METHOD_NOT_ALLOWED = 405;
24     int NOT_ACCEPTABLE = 406;
25     int PROXY_AUTHENTICATION_REQUIRED = 407;
26     int REQUEST_TIMEOUT = 408;
27     int GONE = 410;
28     int CONDITIONAL_REQUEST_FAILED = 412;
29     int REQUEST_ENTITY_TOO_LARGE = 413;
30     int REQUEST_URI_TOO_LONG = 414;
31     int UNSUPPORTED_MEDIA_TYPE = 415;
32     int UNSUPPORTED_URI_SCHEME = 416;
33     int BAD_EXTENSION = 420;
34     int EXTENSION_REQUIRED = 421;
35     int INTERVAL_TOO_BRIEF = 423;
36     int TEMPORARILY_UNAVAILABLE = 480;
37     int CALL_OR_TRANSACTION_DOES_NOT_EXIST = 481;
38     int LOOP_DETECTED = 482;
39     int TOO_MANY_HOPS = 483;
40     int ADDRESS_INCOMPLETE = 484;
41     int AMBIGUOUS = 485;
42     int BUSY_HERE = 486;
43     int REQUEST_TERMINATED = 487;
44     int NOT_ACCEPTABLE_HERE = 488;
45     int BAD_EVENT = 489;
46     int REQUEST_PENDING = 491;
47     int UNDECIPHERABLE = 493;
48     int SERVER_INTERNAL_ERROR = 500;
49     int NOT_IMPLEMENTED = 501;
50     int BAD_GATEWAY = 502;
51     int SERVICE_UNAVAILABLE = 503;
52     int SERVER_TIMEOUT = 504;
53     int VERSION_NOT_SUPPORTED = 505;
54     int MESSAGE_TOO_LARGE = 513;
55     int BUSY_EVERYWHERE = 600;
56     int DECLINE = 603;
57     int DOES_NOT_EXIST_ANYWHERE = 604;
58     int SESSION_NOT_ACCEPTABLE = 606;
59 
getStatusCode()60     int getStatusCode();
setStatusCode(int statusCode)61     void setStatusCode(int statusCode) throws ParseException;
62 
getReasonPhrase()63     String getReasonPhrase();
setReasonPhrase(String reasonPhrase)64     void setReasonPhrase(String reasonPhrase) throws ParseException;
65 }
66