public interface UriTemplateHandler
Supported as a property on the RestTemplate
as well as the
AsyncRestTemplate
. The DefaultUriTemplateHandler
is built
on Spring's URI template support via UriComponentsBuilder
. An
alternative implementation may be used to plug external URI template libraries.
RestTemplate.setUriTemplateHandler(org.springframework.web.util.UriTemplateHandler)
Modifier and Type | Method and Description |
---|---|
URI |
expand(String uriTemplate,
Map<String,?> uriVariables)
Expand the given URI template from a map of URI variables.
|
URI |
expand(String uriTemplate,
Object... uriVariables)
Expand the given URI template from an array of URI variables.
|