io.vertx.core.http

## Class CaseInsensitiveHeaders

- java.lang.Object
- - io.vertx.core.http.CaseInsensitiveHeaders

- All Implemented Interfaces:
    MultiMap, Iterable<Map.Entry<String,String>>

  Deprecated.
  instead use `MultiMap.caseInsensitiveMultiMap()`

      @Deprecated
      public final class CaseInsensitiveHeaders
      extends Object
      implements MultiMap

  This multi-map implementation has case insensitive keys, and can be used to hold some HTTP headers prior to making an HTTP request.
  Author:
    Norman Maurer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CaseInsensitiveHeaders()` Deprecated. use `MultiMap.caseInsensitiveMultiMap()` instead

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `MultiMap` | `add(CharSequence name, CharSequence value)` Deprecated. Like `MultiMap.add(String, String)` but accepting `CharSequence` as parameters
    `MultiMap` | `add(CharSequence name, Iterable<CharSequence> values)` Deprecated. Like `MultiMap.add(String, Iterable)` but accepting `CharSequence` as parameters
    `MultiMap` | `add(String name, Iterable<String> values)` Deprecated. Adds a new values under the specified name
    `MultiMap` | `add(String name, String strVal)` Deprecated. Adds a new value with the specified name and value.
    `MultiMap` | `addAll(Map<String,String> map)` Deprecated. Adds all the entries from a Map to this
    `MultiMap` | `addAll(MultiMap headers)` Deprecated. Adds all the entries from another MultiMap to this one
    `MultiMap` | `clear()` Deprecated. Removes all
    `boolean` | `contains(CharSequence name)` Deprecated. Like `MultiMap.contains(String)` but accepting a `CharSequence` as a parameter
    `boolean` | `contains(String name)` Deprecated. Checks to see if there is a value with the specified name
    `void` | `forEach(java.util.function.Consumer<? super Map.Entry<String,String>> action)` Deprecated.
    `String` | `get(CharSequence name)` Deprecated.
    `String` | `get(String name)` Deprecated. Returns the value of with the specified name.
    `List<String>` | `getAll(CharSequence name)` Deprecated. Like `MultiMap.getAll(String)` but accepting a `CharSequence` as a parameter
    `List<String>` | `getAll(String name)` Deprecated. Returns the values with the specified name
    `boolean` | `isEmpty()` Deprecated. Return true if empty
    `Iterator<Map.Entry<String,String>>` | `iterator()` Deprecated.
    `Set<String>` | `names()` Deprecated. Gets a immutable `Set` of all names
    `MultiMap` | `remove(CharSequence name)` Deprecated. Like `MultiMap.remove(String)` but accepting `CharSequence` as parameters
    `MultiMap` | `remove(String name)` Deprecated. Removes the value with the given name
    `MultiMap` | `set(CharSequence name, CharSequence value)` Deprecated. Like `MultiMap.set(String, String)` but accepting `CharSequence` as parameters
    `MultiMap` | `set(CharSequence name, Iterable<CharSequence> values)` Deprecated. Like `MultiMap.set(String, Iterable)` but accepting `CharSequence` as parameters
    `MultiMap` | `set(String name, Iterable<String> values)` Deprecated. Sets values for the specified name.
    `MultiMap` | `set(String name, String strVal)` Deprecated. Sets a `value` under the specified `name`.
    `MultiMap` | `setAll(Map<String,String> headers)` Deprecated. Cleans and set all values of the given instance
    `MultiMap` | `setAll(MultiMap headers)` Deprecated. Cleans this instance.
    `int` | `size()` Deprecated. Return the number of keys.
    `String` | `toString()` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface io.vertx.core.MultiMap

      `caseInsensitiveMultiMap, contains, contains, entries`

    - ### Methods inherited from interface java.lang.Iterable

      `spliterator`

- - ### Constructor Detail

    - #### CaseInsensitiveHeaders

          @Deprecated
          public CaseInsensitiveHeaders()

      Deprecated. use `MultiMap.caseInsensitiveMultiMap()` instead

  - ### Method Detail

    - #### setAll

          public MultiMap setAll(MultiMap headers)

      Deprecated.
      Description copied from interface: `MultiMap`
      Cleans this instance.
      Specified by:
        `setAll` in interface `MultiMap`
      Returns:
        a reference to this, so the API can be used fluently

    - #### setAll

          public MultiMap setAll(Map<String,String> headers)

      Deprecated.
      Description copied from interface: `MultiMap`
      Cleans and set all values of the given instance
      Specified by:
        `setAll` in interface `MultiMap`
      Returns:
        a reference to this, so the API can be used fluently

    - #### size

          public int size()

      Deprecated.
      Description copied from interface: `MultiMap`
      Return the number of keys.
      Specified by:
        `size` in interface `MultiMap`

    - #### add

          public MultiMap add(String name,
                              String strVal)

      Deprecated.
      Description copied from interface: `MultiMap`
      Adds a new value with the specified name and value.
      Specified by:
        `add` in interface `MultiMap`
      Parameters:
        `name` - The name
        `strVal` - The value being added
      Returns:
        a reference to this, so the API can be used fluently

    - #### add

          public MultiMap add(String name,
                              Iterable<String> values)

      Deprecated.
      Description copied from interface: `MultiMap`
      Adds a new values under the specified name
      Specified by:
        `add` in interface `MultiMap`
      Parameters:
        `name` - The name being set
        `values` - The values
      Returns:
        a reference to this, so the API can be used fluently

    - #### addAll

          public MultiMap addAll(MultiMap headers)

      Deprecated.
      Description copied from interface: `MultiMap`
      Adds all the entries from another MultiMap to this one
      Specified by:
        `addAll` in interface `MultiMap`
      Returns:
        a reference to this, so the API can be used fluently

    - #### addAll

          public MultiMap addAll(Map<String,String> map)

      Deprecated.
      Description copied from interface: `MultiMap`
      Adds all the entries from a Map to this
      Specified by:
        `addAll` in interface `MultiMap`
      Returns:
        a reference to this, so the API can be used fluently

    - #### remove

          public MultiMap remove(String name)

      Deprecated.
      Description copied from interface: `MultiMap`
      Removes the value with the given name
      Specified by:
        `remove` in interface `MultiMap`
      Parameters:
        `name` - The name of the value to remove
      Returns:
        a reference to this, so the API can be used fluently

    - #### set

          public MultiMap set(String name,
                              String strVal)

      Deprecated.
      Description copied from interface: `MultiMap`
      Sets a `value` under the specified `name`.

      If there is an existing header with the same name, it is removed. Setting a `null` value removes the entry.

      Specified by:
        `set` in interface `MultiMap`
      Parameters:
        `name` - The name
        `strVal` - The value
      Returns:
        a reference to this, so the API can be used fluently

    - #### set

          public MultiMap set(String name,
                              Iterable<String> values)

      Deprecated.
      Description copied from interface: `MultiMap`
      Sets values for the specified name.
      Specified by:
        `set` in interface `MultiMap`
      Parameters:
        `name` - The name of the headers being set
        `values` - The values of the headers being set
      Returns:
        a reference to this, so the API can be used fluently

    - #### clear

          public MultiMap clear()

      Deprecated.
      Description copied from interface: `MultiMap`
      Removes all
      Specified by:
        `clear` in interface `MultiMap`
      Returns:
        a reference to this, so the API can be used fluently

    - #### get

          public String get(String name)

      Deprecated.
      Description copied from interface: `MultiMap`
      Returns the value of with the specified name. If there are more than one values for the specified name, the first value is returned.
      Specified by:
        `get` in interface `MultiMap`
      Parameters:
        `name` - The name of the header to search
      Returns:
        The first header value or `null` if there is no such entry

    - #### getAll

          public List<String> getAll(String name)

      Deprecated.
      Description copied from interface: `MultiMap`
      Returns the values with the specified name
      Specified by:
        `getAll` in interface `MultiMap`
      Parameters:
        `name` - The name to search
      Returns:
        A immutable `List` of values which will be empty if no values are found

    - #### forEach

          public void forEach(java.util.function.Consumer<? super Map.Entry<String,String>> action)

      Deprecated.
      Specified by:
        `forEach` in interface `Iterable<Map.Entry<String,String>>`

    - #### iterator

          public Iterator<Map.Entry<String,String>> iterator()

      Deprecated.
      Specified by:
        `iterator` in interface `Iterable<Map.Entry<String,String>>`

    - #### contains

          public boolean contains(String name)

      Deprecated.
      Description copied from interface: `MultiMap`
      Checks to see if there is a value with the specified name
      Specified by:
        `contains` in interface `MultiMap`
      Parameters:
        `name` - The name to search for
      Returns:
        true if at least one entry is found

    - #### isEmpty

          public boolean isEmpty()

      Deprecated.
      Description copied from interface: `MultiMap`
      Return true if empty
      Specified by:
        `isEmpty` in interface `MultiMap`

    - #### names

          public Set<String> names()

      Deprecated.
      Description copied from interface: `MultiMap`
      Gets a immutable `Set` of all names
      Specified by:
        `names` in interface `MultiMap`
      Returns:
        A `Set` of all names

    - #### get

          public String get(CharSequence name)

      Deprecated.
      Specified by:
        `get` in interface `MultiMap`

    - #### getAll

          public List<String> getAll(CharSequence name)

      Deprecated.
      Description copied from interface: `MultiMap`
      Like `MultiMap.getAll(String)` but accepting a `CharSequence` as a parameter
      Specified by:
        `getAll` in interface `MultiMap`

    - #### contains

          public boolean contains(CharSequence name)

      Deprecated.
      Description copied from interface: `MultiMap`
      Like `MultiMap.contains(String)` but accepting a `CharSequence` as a parameter
      Specified by:
        `contains` in interface `MultiMap`

    - #### add

          public MultiMap add(CharSequence name,
                              CharSequence value)

      Deprecated.
      Description copied from interface: `MultiMap`
      Like `MultiMap.add(String, String)` but accepting `CharSequence` as parameters
      Specified by:
        `add` in interface `MultiMap`

    - #### add

          public MultiMap add(CharSequence name,
                              Iterable<CharSequence> values)

      Deprecated.
      Description copied from interface: `MultiMap`
      Like `MultiMap.add(String, Iterable)` but accepting `CharSequence` as parameters
      Specified by:
        `add` in interface `MultiMap`

    - #### set

          public MultiMap set(CharSequence name,
                              CharSequence value)

      Deprecated.
      Description copied from interface: `MultiMap`
      Like `MultiMap.set(String, String)` but accepting `CharSequence` as parameters
      Specified by:
        `set` in interface `MultiMap`

    - #### set

          public MultiMap set(CharSequence name,
                              Iterable<CharSequence> values)

      Deprecated.
      Description copied from interface: `MultiMap`
      Like `MultiMap.set(String, Iterable)` but accepting `CharSequence` as parameters
      Specified by:
        `set` in interface `MultiMap`

    - #### remove

          public MultiMap remove(CharSequence name)

      Deprecated.
      Description copied from interface: `MultiMap`
      Like `MultiMap.remove(String)` but accepting `CharSequence` as parameters
      Specified by:
        `remove` in interface `MultiMap`

    - #### toString

          public String toString()

      Deprecated.
      Overrides:
        `toString` in class `Object`

Copyright © 2021 Eclipse. All rights reserved.