Packages

class MultiMap extends AnyRef

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiMap(_asJava: AnyRef)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(name: String, value: String): MultiMap

    Adds a new value with the specified name and value.

    Adds a new value with the specified name and value. * @param name The name

    value

    The value being added

    returns

    a reference to this, so the API can be used fluently

  5. def addAll(map: MultiMap): MultiMap

    Adds all the entries from another MultiMap to this one * @return a reference to this, so the API can be used fluently

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asJava: AnyRef
  8. def clear(): MultiMap

    Removes all * @return a reference to this, so the API can be used fluently

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def contains(name: String): Boolean

    Checks to see if there is a value with the specified name * @param name The name to search for

    Checks to see if there is a value with the specified name * @param name The name to search for

    returns

    true if at least one entry is found

  11. def contains(name: String, value: String, caseInsensitive: Boolean): Boolean

    Check if there is a header with the specified name and value.

    Check if there is a header with the specified name and value.

    If caseInsensitive is true, value is compared in a case-insensitive way. * @param name the name to search for

    value

    the value to search for

    returns

    true if at least one entry is found

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(name: String): Option[String]

    Returns the value of with the specified name.

    Returns the value of with the specified name. If there are more than one values for the specified name, the first value is returned. * @param name The name of the header to search

    returns

    The first header value or null if there is no such entry

  16. def getAll(name: String): Buffer[String]

    Returns the values with the specified name * @param name The name to search

    Returns the values with the specified name * @param name The name to search

    returns

    A immutable scala.collection.immutable.List of values which will be empty if no values are found

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def isEmpty(): Boolean

    Return true if empty

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def names(): Set[String]

    Gets a immutable Set of all names * @return A scala.collection.immutable.Set of all names

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def remove(name: String): MultiMap

    Removes the value with the given name * @param name The name of the value to remove

    Removes the value with the given name * @param name The name of the value to remove

    returns

    a reference to this, so the API can be used fluently

  26. def set(name: String, value: String): MultiMap

    Sets a value under the specified name.

    Sets a value under the specified name.

    If there is an existing header with the same name, it is removed. * @param name The name

    value

    The value

    returns

    a reference to this, so the API can be used fluently

  27. def setAll(map: MultiMap): MultiMap

    Cleans this instance.

    Cleans this instance. * @return a reference to this, so the API can be used fluently

  28. def size(): Int

    Return the number of keys.

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped