|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Sip.Code>
org.jnetpcap.protocol.voip.Sip.Code
public static enum Sip.Code
A table of SIP protocol codes and their meanings.
| Enum Constant Summary | |
|---|---|
Address_Incomplete
Address incomplete field (484). |
|
Alternative_Service
Alternative service (380). |
|
Ambiguous
Ambiguous (485). |
|
Bad_Extension
Bad extension (420). |
|
Bad_Gateway
Bad gateway (502). |
|
Bad_Request
Bad request (400). |
|
Busy_Everywhere
Busy everywhere (600). |
|
Busy_Here
Busy here (486). |
|
Call_Leg_Transaction_Does_Not_Exist
Call leg transaction does not exist (481). |
|
Decline
Decline (603). |
|
Does_not_exist_anywhere
Does not exist anywhere (604). |
|
Extension_Required
Extension required (421). |
|
Forbidden
Forbidden (403). |
|
Gone
Gone (410). |
|
Internal_Server_Error
Internal Server Error (500). |
|
Interval_Too_Brief
Interval too brief (423). |
|
Loop_Detected
Loop detected (482). |
|
Message_Too_Large
Message too large (513). |
|
Method_Not_Allowed
Method not allowed (405). |
|
Moved_Permanently
Moved permanently (301). |
|
Moved_Temporarily
Moved temporarily (302). |
|
MULTIPLE_CHOICES
Multiple choices (300). |
|
Not_Acceptable_Here
Not acceptable here (488). |
|
Not_Acceptable400
Not acceptable 400 (406). |
|
Not_Acceptable600
Not acceptable 600 (606). |
|
Not_Found
Not found (404). |
|
Not_Implemented
Not implemented (501). |
|
OK
OK (200). |
|
Payment_Required
Payment required (402). |
|
Proxy_Authentication_Required
Proxy authentication required (407). |
|
Request_Entity_Too_Large
Request entity too large (413). |
|
Request_Pending
Request pending (491). |
|
Request_Terminated
Request terminated (487). |
|
Request_Timeout
Request timeout (408). |
|
Request_URI_Too_Large
Request uri too large (414). |
|
Server_Time_out
Server timeout (504). |
|
Service_Unavailable
Service unavailable (503). |
|
SIP_Version_not_supported
SIP version not supported (505). |
|
Temporarily_not_available
Temporarily not available (480). |
|
Too_Many_Hops
Too many hops (483). |
|
Unauthorized
Unauthorized (401). |
|
Undecipherable
Undecipherable (493). |
|
Unsupported_Media_Type
Unsupported media type (415). |
|
Unsupported_URI_Scheme
Unsupported uri scheme (416). |
|
Use_Proxy
Use proxy (305). |
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the code for this field. |
java.lang.String |
getDescription()
Returns a human readable description of this field. |
Sip.Code |
valueOf(int code)
Converts a numerical code into a enum constant. |
static Sip.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
Sip.Code |
valueOfUsingCode(java.lang.String code)
Helper method which expects the code in a string and returns a corresponding enum constant. |
static Sip.Code[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Sip.Code Address_Incomplete
public static final Sip.Code Alternative_Service
public static final Sip.Code Ambiguous
public static final Sip.Code Bad_Extension
public static final Sip.Code Bad_Gateway
public static final Sip.Code Bad_Request
public static final Sip.Code Busy_Everywhere
public static final Sip.Code Busy_Here
public static final Sip.Code Call_Leg_Transaction_Does_Not_Exist
public static final Sip.Code Decline
public static final Sip.Code Does_not_exist_anywhere
public static final Sip.Code Extension_Required
public static final Sip.Code Forbidden
public static final Sip.Code Gone
public static final Sip.Code Internal_Server_Error
public static final Sip.Code Interval_Too_Brief
public static final Sip.Code Loop_Detected
public static final Sip.Code Message_Too_Large
public static final Sip.Code Method_Not_Allowed
public static final Sip.Code Moved_Permanently
public static final Sip.Code Moved_Temporarily
public static final Sip.Code MULTIPLE_CHOICES
public static final Sip.Code Not_Acceptable_Here
public static final Sip.Code Not_Acceptable400
public static final Sip.Code Not_Acceptable600
public static final Sip.Code Not_Found
public static final Sip.Code Not_Implemented
public static final Sip.Code OK
public static final Sip.Code Payment_Required
public static final Sip.Code Proxy_Authentication_Required
public static final Sip.Code Request_Entity_Too_Large
public static final Sip.Code Request_Pending
public static final Sip.Code Request_Terminated
public static final Sip.Code Request_Timeout
public static final Sip.Code Request_URI_Too_Large
public static final Sip.Code Server_Time_out
public static final Sip.Code Service_Unavailable
public static final Sip.Code SIP_Version_not_supported
public static final Sip.Code Temporarily_not_available
public static final Sip.Code Too_Many_Hops
public static final Sip.Code Unauthorized
public static final Sip.Code Undecipherable
public static final Sip.Code Unsupported_Media_Type
public static final Sip.Code Unsupported_URI_Scheme
public static final Sip.Code Use_Proxy
| Method Detail |
|---|
public static Sip.Code[] values()
for (Sip.Code c : Sip.Code.values()) System.out.println(c);
public static Sip.Code valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic final int getCode()
public final java.lang.String getDescription()
public Sip.Code valueOf(int code)
code - numerical code value
public Sip.Code valueOfUsingCode(java.lang.String code)
code - string containing iteger value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||