Headers

data class Headers(val httpFields: Map<String, Header>) : Map<String, Header>

Constructors

Link copied to clipboard
fun Headers(fields: List<Header>)
Link copied to clipboard
fun Headers(vararg fields: Header)
Link copied to clipboard
fun Headers(httpFields: Map<String, Header>)

Functions

Link copied to clipboard
open override fun containsKey(key: String): Boolean
Link copied to clipboard
open override fun containsValue(value: Header): Boolean
Link copied to clipboard
open fun forEach(p0: BiConsumer<in String, in Header>)
Link copied to clipboard
open operator override fun get(key: String): Header?
Link copied to clipboard
open fun getOrDefault(key: String, defaultValue: Header): Header
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
operator fun minus(name: String): Headers
Link copied to clipboard
operator fun plus(element: Header): Headers
operator fun plus(element: Headers): Headers

Properties

Link copied to clipboard
open override val entries: Set<Map.Entry<String, Header>>
Link copied to clipboard
val httpFields: Map<String, Header>
Link copied to clipboard
open override val keys: Set<String>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: Collection<Header>