public interface PathParameters
Represents the path parameters extracted from the absolute path of a request following the URIPattern
used to define the route to the targeted resource.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
-
Method Details
-
getNames
Returns the names of the path parameters.
- Returns:
- a list of parameter names
-
get
Returns the path parameter with the specified name.
- Parameters:
name
- a parameter name- Returns:
- an optional returning the parameter or an empty optional if there's no parameter with that name
-
getAll
Returns all path parameters.
- Returns:
- the parameters
-