com.vaadin.flow.router.
Package com.vaadin.flow.router
Class RouteParam
All Implemented Interfaces:
Route parameter containing the name and the value used mainly when
constructing a RouteParameters
instance.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRouteParam
(String name, int value) Creates a new route parameter.
RouteParam
(String name, long value) Creates a new route parameter.
RouteParam
(String name, String value) Creates a new route parameter.
-
Method Summary
-
Constructor Details
-
RouteParam
Creates a new route parameter.
Parameters:
name
- the name of the parameter.value
- the value of the parameter. -
RouteParam
Creates a new route parameter.
Parameters:
name
- the name of the parameter.value
- the value of the parameter. -
RouteParam
Creates a new route parameter.
Parameters:
name
- the name of the parameter.value
- the value of the parameter.
-
-
Method Details
-
getName
Gets the name of the parameter.
Returns:
the name of the parameter.
-
getValue
Gets the value of the parameter.
Returns:
the value of the parameter.
-