DefaultHeader
class DefaultHeader(delegate: MutableMap<String, String> = mutableMapOf(), var isReadOnly: Boolean = false) : Header, MutableMap<String, String>
Default implementation of the Header interface.
This class provides a mutable header implementation that can be made read-only. It delegates map operations to an internal mutable map while enforcing read-only constraints.
Author
ahoo wang
Parameters
delegate
The underlying mutable map that stores header key-value pairs