public enum RtmpProtocol extends Enum<RtmpProtocol> implements org.kaazing.gateway.resource.address.Protocol
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSecure() |
static RtmpProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RtmpProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RtmpProtocol RTMP
public static final RtmpProtocol RTMPS
public static final String NAME
public static RtmpProtocol[] values()
for (RtmpProtocol c : RtmpProtocol.values()) System.out.println(c);
public static RtmpProtocol 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 nullpublic boolean isSecure()
isSecure in interface org.kaazing.gateway.resource.address.ProtocolCopyright © 2014–2015. All rights reserved.