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