public static enum SipApplicationSession.Protocol extends Enum<SipApplicationSession.Protocol>
SipApplicationSession
belong to.Modifier and Type | Method and Description |
---|---|
static SipApplicationSession.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SipApplicationSession.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SipApplicationSession.Protocol SIP
public static final SipApplicationSession.Protocol HTTP
public static SipApplicationSession.Protocol[] values()
for (SipApplicationSession.Protocol c : SipApplicationSession.Protocol.values()) System.out.println(c);
public static SipApplicationSession.Protocol valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.