Package foo.zaaarf.routecartographer
Class Route.Param
- java.lang.Object
-
- foo.zaaarf.routecartographer.Route.Param
-
- Enclosing class:
- Route
public static class Route.Param extends java.lang.Object
Representation of a parameter of a REST route.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
defaultValue
The default value of the parameter.java.lang.String
name
The name of the parameter.java.lang.String
typeFQN
The fully-qualified name of the expected type of the parameter.
-
Constructor Summary
Constructors Constructor Description Param(java.lang.String typeFQN, java.lang.String name, java.lang.String defaultValue)
The one and only constructor.
-
-
-
Field Detail
-
typeFQN
public final java.lang.String typeFQN
The fully-qualified name of the expected type of the parameter.
-
name
public final java.lang.String name
The name of the parameter.
-
defaultValue
public final java.lang.String defaultValue
The default value of the parameter. May be null, in which case the parameter is required.
-
-
Constructor Detail
-
Param
public Param(java.lang.String typeFQN, java.lang.String name, java.lang.String defaultValue)
The one and only constructor.- Parameters:
typeFQN
- the FQN of the expected type of the parametername
- the name of the parameterdefaultValue
- the default value of the parameter, may be null if the parameter is required
-
-