public enum ServletInitAttribs extends Enum<ServletInitAttribs>
Enum Constant and Description |
---|
AUTO_DISCOVER_SERVICES |
FORCE_SECURE_WEBSOCKETS |
SERVICE_LOCATOR |
WEBSOCKETS_ENABLED |
WEBSOCKETS_PATH_ELEMENT |
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName() |
String |
getContextValue(org.jboss.errai.bus.server.servlet.InitConfig config) |
String |
getInitOrContextValue(org.jboss.errai.bus.server.servlet.InitConfig config) |
String |
getInitOrContextValue(org.jboss.errai.bus.server.servlet.InitConfig config,
String defaultValue) |
String |
getInitValue(org.jboss.errai.bus.server.servlet.InitConfig config) |
static ServletInitAttribs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServletInitAttribs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServletInitAttribs SERVICE_LOCATOR
public static final ServletInitAttribs WEBSOCKETS_PATH_ELEMENT
public static final ServletInitAttribs WEBSOCKETS_ENABLED
public static final ServletInitAttribs FORCE_SECURE_WEBSOCKETS
public static final ServletInitAttribs AUTO_DISCOVER_SERVICES
public static ServletInitAttribs[] values()
for (ServletInitAttribs c : ServletInitAttribs.values()) System.out.println(c);
public static ServletInitAttribs 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 String getAttributeName()
public String getInitOrContextValue(org.jboss.errai.bus.server.servlet.InitConfig config, String defaultValue)
public String getInitOrContextValue(org.jboss.errai.bus.server.servlet.InitConfig config)
public String getInitValue(org.jboss.errai.bus.server.servlet.InitConfig config)
public String getContextValue(org.jboss.errai.bus.server.servlet.InitConfig config)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.