public class PathPar
extends java.lang.Object
{id} in /my/path/{id}.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generic()
Returns a string representation of this parameter for usage in a generic path, e.g.,
/my/path/{id}.. |
static PathPar |
of(java.lang.String name)
Creates a new instance.
|
public static PathPar of(java.lang.String name)
name - The name of the parameter.public java.lang.String generic()
/my/path/{id}..{parameter-name}