public enum NioProtocol extends Enum<NioProtocol> implements org.kaazing.gateway.resource.address.Protocol
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSecure() |
static NioProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NioProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NioProtocol TCP
public static final NioProtocol UDP
public static final NioProtocol AWS
public static NioProtocol[] values()
for (NioProtocol c : NioProtocol.values()) System.out.println(c);
public static NioProtocol 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.