org.http4s

AttributeMap

final class AttributeMap extends AnyRef

An immutable map where an AttributeKey for a fixed type T can only be associated with values of type T. Because the equality of keys is based on reference, it is therefore possible for this map to contain mappings for keys with the same label and same types.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AttributeMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++(o: AttributeMap): AttributeMap

    Combines the mappings in o with the mappings in this map, with mappings in o taking precedence over existing mappings.

  5. def ++(o: Iterable[AttributeEntry[_]]): AttributeMap

    Adds the mappings in o to this map, with mappings in o taking precedence over existing mappings.

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def apply[T](k: AttributeKey[T]): T

    Gets the value of type T associated with the key k.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def contains[T](k: AttributeKey[T]): Boolean

    Returns true if this map contains a mapping for k.

  12. def entries: Iterable[AttributeEntry[_]]

    All mappings in this map.

    All mappings in this map. The AttributeEntry type preserves the typesafety of mappings, although the specific types are unknown.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def get[T](k: AttributeKey[T]): Option[T]

    Gets the value of type T associated with the key k or None if no value is associated.

  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def isEmpty: Boolean

    true if there are no mappings in this map, false if there are.

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def keys: Iterable[AttributeKey[_]]

    All keys with defined mappings.

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def put[T](k: AttributeKey[T], value: T): AttributeMap

    Adds the mapping k -> value to this map, replacing any existing mapping for k.

  26. def remove[T](k: AttributeKey[T]): AttributeMap

    Returns this map without the mapping for k.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped