| Package | Description |
|---|---|
| org.jboss.aerogear.controller.router.parameter |
| Modifier and Type | Field and Description |
|---|---|
private Parameter.Type |
Parameter.parameterType |
| Modifier and Type | Method and Description |
|---|---|
Parameter.Type |
Parameter.getParameterType()
Gets the
Parameter.Type of this parameter. |
static Parameter.Type |
Parameter.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parameter.Type[] |
Parameter.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Parameter(Parameter.Type parameterType,
Class<T> type)
Sole constructor.
|
RequestParameter(String name,
Parameter.Type parameterType,
Class<T> type)
Constructs a RequestParameter with a name,
Paramter.Type, and specifies the type of the value in the parameter. |
RequestParameter(String name,
Parameter.Type parameterType,
T defaultValue,
Class<T> type)
Constructs a RequestParameter with a name,
Parameter.Type, and specifies the type of the value in the parameter and allows
for a default value to be specified which will be used if the parameter is missing from the request. |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.