URITemplate

class URITemplate(val template: String, val parameters: Parameters = mapOf())

RFC 6570 URI template and parameters.

Constructors

Link copied to clipboard
fun URITemplate(template: String, parameters: Parameters = mapOf())

Functions

Link copied to clipboard
fun resolve(relative: String? = null, parameters: Parameters? = null): URIBuilder

Produces a full URI by resolving the given relative URI (if provided) and then replacing parameters in the template with a combination of the io.outfoxx.sunday.URITemplate.parameters overridden by the given parameters.

Properties

Link copied to clipboard

Parameters to be used when resolving the template.

Link copied to clipboard

Template format.