public enum ContextParam extends Enum<ContextParam>
Enum Constant and Description |
---|
EnableDistributable
Enable distributable code.
|
SendPoweredByHeader
Send the "X-Powered-By" header.
|
WebsocketEndpointPort
The websocket endpoint port (default 0 means the code will take the port from the request)
|
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue()
Get the default value.
|
<T> T |
getDefaultValue(Class<T> clazz)
Get the default value.
|
String |
getName()
Get the name.
|
Class |
getType()
Get the type.
|
static ContextParam |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextParam[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextParam EnableDistributable
public static final ContextParam SendPoweredByHeader
public static final ContextParam WebsocketEndpointPort
public static ContextParam[] values()
for (ContextParam c : ContextParam.values()) System.out.println(c);
public static ContextParam 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 Object getDefaultValue()
public <T> T getDefaultValue(Class<T> clazz)
T
- the type.clazz
- the class.public String getName()
public Class getType()
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.