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