public final class StringRenderer extends ValueRenderer
Rendering of a string value is the only event where the returned list cannot be empty. Concurrently, it will always have a single element.
ifEmpty, named| Constructor and Description |
|---|
StringRenderer(ExpressionType type) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
render(VariableSpec varspec,
VariableValue value)
Render a value given a varspec and value
|
pctEncodepublic StringRenderer(ExpressionType type)
public List<String> render(VariableSpec varspec, VariableValue value) throws URITemplateException
ValueRendererrender in class ValueRenderervarspec - the varspecvalue - the matching variable valueURITemplateException - illegal expansion