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