protected static interface UriTemplate.PathSegment extends CharSequence
Modifier and Type | Method and Description |
---|---|
String |
expand(Map<String,Object> parameters,
boolean previousHasContent,
boolean anyPreviousHasOperator)
Expands the query segment.
|
default Optional<String> |
getVariable()
If this path segment represents a variable returns the underlying variable name.
|
default boolean |
isQuerySegment() |
default boolean |
isVariable() |
charAt, chars, codePoints, length, subSequence, toString
default boolean isQuerySegment()
default Optional<String> getVariable()
default boolean isVariable()
String expand(Map<String,Object> parameters, boolean previousHasContent, boolean anyPreviousHasOperator)
parameters
- The parameterspreviousHasContent
- Whether there was previous contentanyPreviousHasOperator
- Whether an operator is present