org.jboss.errai.bus.server.servlet
Enum ServletInitAttribs
java.lang.Object
java.lang.Enum<ServletInitAttribs>
org.jboss.errai.bus.server.servlet.ServletInitAttribs
- All Implemented Interfaces:
- Serializable, Comparable<ServletInitAttribs>
public enum ServletInitAttribs
- extends Enum<ServletInitAttribs>
- Author:
- Mike Brock
SERVICE_LOCATOR
public static final ServletInitAttribs SERVICE_LOCATOR
WEBSOCKETS_PATH_ELEMENT
public static final ServletInitAttribs WEBSOCKETS_PATH_ELEMENT
WEBSOCKETS_ENABLED
public static final ServletInitAttribs WEBSOCKETS_ENABLED
AUTO_DISCOVER_SERVICES
public static final ServletInitAttribs AUTO_DISCOVER_SERVICES
values
public static ServletInitAttribs[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ServletInitAttribs c : ServletInitAttribs.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ServletInitAttribs valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getAttributeName
public String getAttributeName()
getInitOrContextValue
public String getInitOrContextValue(org.jboss.errai.bus.server.servlet.InitConfig config,
String defaultValue)
getInitOrContextValue
public String getInitOrContextValue(org.jboss.errai.bus.server.servlet.InitConfig config)
getInitValue
public String getInitValue(org.jboss.errai.bus.server.servlet.InitConfig config)
getContextValue
public String getContextValue(org.jboss.errai.bus.server.servlet.InitConfig config)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.