HeadersBuilder

Constructors

Link copied to clipboard
constructor(size: Int = 8)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun append(name: String, value: String)
Link copied to clipboard

Append formatted header value to the builder

Link copied to clipboard
open override fun appendAll(stringValues: StringValues)
open override fun appendAll(name: String, values: Iterable<String>)
Link copied to clipboard
open override fun appendMissing(stringValues: StringValues)
open override fun appendMissing(name: String, values: Iterable<String>)
Link copied to clipboard
open override fun build(): Headers
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open operator override fun contains(name: String): Boolean
open override fun contains(name: String, value: String): Boolean
Link copied to clipboard
open override fun entries(): Set<Map.Entry<String, List<String>>>
Link copied to clipboard
fun HeadersBuilder.etag(entityTag: String)

Set E-Tag header

Link copied to clipboard
open operator override fun get(name: String): String?
Link copied to clipboard
open override fun getAll(name: String): List<String>?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open override fun names(): Set<String>
Link copied to clipboard
open override fun remove(name: String)
open override fun remove(name: String, value: String): Boolean
Link copied to clipboard
open override fun removeKeysWithNoEntries()
Link copied to clipboard
open operator override fun set(name: String, value: String)