| Modifier and Type | Field and Description |
|---|---|
| private final Object | defaultValue
Stores the default value. |
| public static final ContextParam | EnableDistributable
Enable distributable code. |
| private final String | name
Hides java. |
| public static final ContextParam | SendPoweredByHeader
Send the "X-Powered-By" header. |
| private final Class | type
Stores the type. |
| public static final ContextParam | WebsocketEndpointPort
The websocket endpoint port (default 0 means the code will take the port from the request) |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public < the type. T> T | |
| public String | |
| public Class | |
| public static ContextParam | |
| public static ContextParam[] |
| defaultValue | back to summary |
|---|---|
| private final Object defaultValue Stores the default value. | |
| EnableDistributable | back to summary |
|---|---|
| public static final ContextParam EnableDistributable Enable distributable code. | |
| name | back to summary |
|---|---|
| private final String name Hides java. Stores the name. | |
| SendPoweredByHeader | back to summary |
|---|---|
| public static final ContextParam SendPoweredByHeader Send the "X-Powered-By" header. | |
| type | back to summary |
|---|---|
| private final Class<T> type Stores the type. | |
| WebsocketEndpointPort | back to summary |
|---|---|
| public static final ContextParam WebsocketEndpointPort The websocket endpoint port (default 0 means the code will take the port from the request) | |
| ContextParam | back to summary |
|---|---|
| private ContextParam(String name, Class<T> type, Object defaultValue) Constructor. | |
| getDefaultValue | back to summary |
|---|---|
| public Object getDefaultValue() Get the default value.
| |
| getDefaultValue | back to summary |
|---|---|
| public <T> T getDefaultValue(Class<T> clazz) Get the default value.
| |
| getName | back to summary |
|---|---|
| public String getName() Get the name.
| |
| getType | back to summary |
|---|---|
| public Class Get the type.
| |
| valueOf | back to summary |
|---|---|
| public static ContextParam valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ContextParam[] values() | |