api

http4k / org.http4k.core / UriTemplate

UriTemplate

data class UriTemplate (source)

Functions

Name Summary
extract fun extract(uri: String): Map<String, String>
generate fun generate(parameters: Map<String, String>): String
matches fun matches(uri: String): Boolean
toString fun toString(): String

Companion Object Functions

Name Summary
from fun from(template: String): UriTemplate
trimSlashes fun String.trimSlashes(): String

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T