Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.server.servlet
Enum ServletInitAttribs

java.lang.Object
  extended by java.lang.Enum<ServletInitAttribs>
      extended by org.jboss.errai.bus.server.servlet.ServletInitAttribs
All Implemented Interfaces:
Serializable, Comparable<ServletInitAttribs>

public enum ServletInitAttribs
extends Enum<ServletInitAttribs>

Author:
Mike Brock

Enum Constant Summary
AUTO_DISCOVER_SERVICES
           
SERVICE_LOCATOR
           
WEBSOCKETS_ENABLED
           
WEBSOCKETS_PATH_ELEMENT
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.