DefaultHeader

class DefaultHeader(delegate: MutableMap<String, String> = mutableMapOf(), var isReadOnly: Boolean = false) : Header, MutableMap<String, String>

Default Header implementation.

Author

ahoo wang

Constructors

Link copied to clipboard
constructor(delegate: MutableMap<String, String> = mutableMapOf(), isReadOnly: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var isReadOnly: Boolean
Link copied to clipboard
open override val keys: MutableSet<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val size: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val values: MutableCollection<String>

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open fun compute(p0: String, p1: BiFunction<in String, in String?, out String?>): String?
Link copied to clipboard
open fun computeIfAbsent(p0: String, p1: Function<in String, out String>): String
Link copied to clipboard
open fun computeIfPresent(p0: String, p1: BiFunction<in String, in String, out String?>): String?
Link copied to clipboard
open override fun containsKey(key: String): Boolean
Link copied to clipboard
open override fun containsValue(value: String): Boolean
Link copied to clipboard
open override fun copy(): Header
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun forEach(p0: BiConsumer<in String, in String>)
Link copied to clipboard
open operator override fun get(key: String): String?
Link copied to clipboard
open fun getOrDefault(key: String, defaultValue: String): String
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun Header.inject(upstream: Message<*, *>): Header
Link copied to clipboard
fun Header.injectWaitStrategy(commandWaitEndpoint: String, stage: CommandStage, context: String, processor: String = ""): Header
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun merge(p0: String, p1: String, p2: BiFunction<in String, in String, out String?>): String?
Link copied to clipboard
open override fun put(key: String, value: String): String?
Link copied to clipboard
open override fun putAll(from: Map<out String, String>)
Link copied to clipboard
open fun putIfAbsent(p0: String, p1: String): String?
Link copied to clipboard
open override fun remove(key: String): String?
open override fun remove(key: String, value: String): Boolean
Link copied to clipboard
open fun replace(p0: String, p1: String): String?
open fun replace(p0: String, p1: String, p2: String): Boolean
Link copied to clipboard
open fun replaceAll(p0: BiFunction<in String, in String, out String>)
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun with(additional: Map<String, String>): Header
open fun with(key: String, value: String): Header
Link copied to clipboard
Link copied to clipboard
fun Header.withLocalFirst(localFirst: Boolean = true): Header
Link copied to clipboard
Link copied to clipboard
open override fun withReadOnly(): Header
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Header.withUpstreamName(upstreamName: String): Header