public final class ControllerParams extends Object implements Iterable<ControllerParams.Param>
Used internally by RouteBuilder
.
Modifier and Type | Class and Description |
---|---|
static class |
ControllerParams.Param
Route Controller Param.
|
static class |
ControllerParams.ParamValue
Route Controller Param Value Kind.
|
Modifier and Type | Field and Description |
---|---|
static ControllerParams |
EMPTY |
Constructor and Description |
---|
ControllerParams(Map<String,ControllerParams.Param> params) |
Modifier and Type | Method and Description |
---|---|
Map<String,ControllerParams.Param> |
asMap() |
ControllerParams.Param |
get(String name) |
Iterator<ControllerParams.Param> |
iterator() |
Iterable<String> |
names() |
Class<?>[] |
types() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final ControllerParams EMPTY
public ControllerParams(Map<String,ControllerParams.Param> params)
public Iterator<ControllerParams.Param> iterator()
iterator
in interface
Iterable<ControllerParams.Param>
public ControllerParams.Param get(String name)
name
- Name of the ControllerParam
public Class<?>[] types()
public Map<String,ControllerParams.Param> asMap()