Class/Object

org.http4s

AttributeMap

Related Docs: object AttributeMap | package http4s

Permalink

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.

Source
AttributeMap.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AttributeMap
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to any2stringadd[AttributeMap] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++(o: AttributeMap): AttributeMap

    Permalink

    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

    Permalink

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

  6. def ->[B](y: B): (AttributeMap, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to ArrowAssoc[AttributeMap] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: Any): Boolean

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

    Permalink

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

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

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

    Permalink

    Returns true if this map contains a mapping for k.

  12. def ensuring(cond: (AttributeMap) ⇒ Boolean, msg: ⇒ Any): AttributeMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to Ensuring[AttributeMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (AttributeMap) ⇒ Boolean): AttributeMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to Ensuring[AttributeMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): AttributeMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to Ensuring[AttributeMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): AttributeMap

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to Ensuring[AttributeMap] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def entries: Iterable[AttributeEntry[_]]

    Permalink

    All mappings in this map.

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to StringFormat[AttributeMap] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. def get[T](k: AttributeKey[T]): Option[T]

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def isEmpty: Boolean

    Permalink

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

  25. final def isInstanceOf[T0]: Boolean

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

    Permalink

    All keys with defined mappings.

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

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

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

    Permalink

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

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

    Permalink

    Returns this map without the mapping for k.

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

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (AttributeMap, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AttributeMap to ArrowAssoc[AttributeMap] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AttributeMap to any2stringadd[AttributeMap]

Inherited by implicit conversion StringFormat from AttributeMap to StringFormat[AttributeMap]

Inherited by implicit conversion Ensuring from AttributeMap to Ensuring[AttributeMap]

Inherited by implicit conversion ArrowAssoc from AttributeMap to ArrowAssoc[AttributeMap]

Ungrouped