public class UriTemplate extends Template
Template.EncodingOptions, Template.ExpansionOptions
Modifier and Type | Method and Description |
---|---|
static UriTemplate |
append(UriTemplate uriTemplate,
String fragment)
Append a uri fragment to the template.
|
static UriTemplate |
create(String template,
boolean encodeSlash,
Charset charset)
Create a Uri Template.
|
static UriTemplate |
create(String template,
Charset charset)
Create a Uri Template.
|
encodeLiteral, expand, getCharset, getLiterals, getTemplateChunks, getVariables, isLiteral, resolveExpression, toString
public static UriTemplate create(String template, Charset charset)
template
- representing the uri.charset
- for encoding.public static UriTemplate create(String template, boolean encodeSlash, Charset charset)
template
- representing the uriencodeSlash
- flag if slash characters should be encoded.charset
- for the template.public static UriTemplate append(UriTemplate uriTemplate, String fragment)
uriTemplate
- to append to.fragment
- to append.Copyright © 2012–2020 OpenFeign. All rights reserved.