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