Methods
add
- add(name: string, value: string): MultiMap
- add(name: string, value: string): MultiMap
- add(name: string, values: any): MultiMap
- add(name: string, values: any): MultiMap
-
Parameters
-
name: string
-
value: string
-
Parameters
-
name: string
-
value: string
-
Parameters
-
Parameters
addAll
-
Parameters
-
Parameters
clear
-
contains
- contains(name: string): boolean
- contains(name: string, value: string, caseInsensitive: boolean): boolean
- contains(name: string): boolean
- contains(name: string, value: string, caseInsensitive: boolean): boolean
-
Parameters
Returns boolean
-
Parameters
-
name: string
-
value: string
-
caseInsensitive: boolean
Returns boolean
-
Parameters
Returns boolean
-
Parameters
-
name: string
-
value: string
-
caseInsensitive: boolean
Returns boolean
entries
-
Returns any
forEach
- forEach(action: any): void
-
Parameters
Returns void
get
- get(name: string): string | null
- get(name: string): string
-
Parameters
Returns string | null
-
Parameters
Returns string
getAll
- getAll(name: string): string
- getAll(name: string): string
-
Parameters
Returns string
-
Parameters
Returns string
isEmpty
-
Returns boolean
names
-
Returns string
remove
-
Parameters
-
Parameters
set
- set(name: string, value: string): MultiMap
- set(name: string, value: string): MultiMap
- set(name: string, values: any): MultiMap
- set(name: string, values: any): MultiMap
-
Parameters
-
name: string
-
value: string
-
Parameters
-
name: string
-
value: string
-
Parameters
-
Parameters
setAll
-
Parameters
-
Parameters
size
-
Returns number
Static caseInsensitiveMultiMap
-
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.