HttpFields

data class HttpFields<T : HttpField>(val httpFields: Map<String, T>)

Constructors

Link copied to clipboard
fun <T : HttpField> HttpFields(fields: List<T>)
Link copied to clipboard
fun <T : HttpField> HttpFields(vararg fields: T)
Link copied to clipboard
fun <T : HttpField> HttpFields(httpFields: Map<String, T>)

Functions

Link copied to clipboard
operator fun get(key: String): String?
Link copied to clipboard
fun isEmpty(): Boolean
Link copied to clipboard
operator fun minus(name: String): HttpFields<T>
Link copied to clipboard
operator fun plus(element: T): HttpFields<T>
operator fun plus(element: HttpFields<T>): HttpFields<T>
Link copied to clipboard
fun require(key: String): String

Properties

Link copied to clipboard
val allPairs: List<Pair<String, String>>
Link copied to clipboard
val allValues: Map<String, List<String>>
Link copied to clipboard
val httpFields: Map<String, T>
Link copied to clipboard
val values: Map<String, String>