vertx / io.vertx.reactivex.core / MultiMap

# MultiMap

`open class MultiMap`

This class represents a MultiMap of String keys to a List of String values.

It's useful in Vert.x to represent things in Vert.x like HTTP headers and HTTP parameters which allow multiple values for keys.

NOTE: This class has been automatically generated from the io.vertx.core.MultiMap non RX-ified interface using Vert.x codegen.

### Constructors

<init> | `MultiMap(delegate: MultiMap)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<MultiMap>`

### Functions

add | `open fun add(name: String, value: String): MultiMap` Adds a new value with the specified name and value.
addAll | `open fun addAll(map: MultiMap): MultiMap` Adds all the entries from another MultiMap to this one
caseInsensitiveMultiMap | `open static fun caseInsensitiveMultiMap(): MultiMap` Create a multi-map implementation with case insensitive keys, for instance it can be used to hold some HTTP headers.
clear | `open fun clear(): MultiMap` Removes all
contains | `open fun contains(name: String): Boolean` Checks to see if there is a value with the specified name `open fun contains(name: String, value: String, caseInsensitive: Boolean): Boolean` Check if there is a header with the specified `name` and `value`. If `caseInsensitive` is `true`, `value` is compared in a case-insensitive way.
equals | `open fun equals(other: Any?): Boolean`
get | `open fun get(name: String): String` Returns the value of with the specified name. If there are more than one values for the specified name, the first value is returned.
getAll | `open fun getAll(name: String): MutableList<String>` Returns the values with the specified name
getDelegate | `open fun getDelegate(): MultiMap`
hashCode | `open fun hashCode(): Int`
isEmpty | `open fun isEmpty(): Boolean` Return true if empty
names | `open fun names(): MutableSet<String>` Gets a immutable java.util.Set of all names
newInstance | `open static fun newInstance(arg: MultiMap): MultiMap`
remove | `open fun remove(name: String): MultiMap` Removes the value with the given name
set | `open fun set(name: String, value: String): MultiMap` Sets a value under the specified name. If there is an existing header with the same name, it is removed.
setAll | `open fun setAll(map: MultiMap): MultiMap` Cleans this instance.
size | `open fun size(): Int` Return the number of keys.
toString | `open fun toString(): String`