Package com.hexagonkt.http.patterns

TODO

Types

Link copied to clipboard
data class LiteralPathPattern(val pattern: String = "", val prefix: Boolean = false) : PathPattern
Link copied to clipboard
interface PathPattern
Link copied to clipboard
data class RegexPathPattern(val regex: Regex) : PathPattern
Link copied to clipboard
data class TemplatePathPattern(val pattern: String, val prefix: Boolean = false) : PathPattern

A path definition. It parses path patterns and extract values for parameters.

Functions

Link copied to clipboard
fun createPathPattern(pattern: String, prefix: Boolean): PathPattern