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() |
charAt, chars, codePoints, length, subSequence, toString
default boolean isQuerySegment()
default Optional<String> getVariable()
String expand(Map<String,Object> parameters, boolean previousHasContent, boolean anyPreviousHasOperator)
parameters
- The parameterspreviousHasContent
- Whether there was previous contentanyPreviousHasOperator
- Whether an operator is present