Template.EncodingOptions, Template.ExpansionOptions| Modifier and Type | Method and Description |
|---|---|
static BodyTemplate |
create(String template)
Create a new Body Template.
|
static BodyTemplate |
create(String template,
Charset charset)
Create a new Body Template.
|
String |
expand(Map<String,?> variables)
Expand the template.
|
encodeLiteral, getCharset, getLiterals, getTemplateChunks, getVariables, isLiteral, resolveExpression, toStringpublic static BodyTemplate create(String template)
template - to parse.public static BodyTemplate create(String template, Charset charset)
template - to parse.charset - to use when encoding the template.Copyright © 2012–2023 OpenFeign. All rights reserved.