Class

com.twitter.scrooge

HeaderMap

Related Doc: package scrooge

Permalink

class HeaderMap extends AnyRef

Immutable Map of Header Keys Strings to Seq of Header Buf Values.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeaderMap
  2. AnyRef
  3. Any
  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. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(key: String): Seq[Buf]

    Permalink

    Retrieves the value which is associated with the given key.

    Retrieves the value which is associated with the given key. If there is no value associated with the given key, throws a NoSuchElementException.

    key

    the key

    returns

    the value associated with the given key, throws NoSuchElementException if none exists.

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contains(key: String): Boolean

    Permalink

    Tests whether this HeaderMap contains a binding for a key.

    Tests whether this HeaderMap contains a binding for a key.

    key

    the key

    returns

    true if there is a binding for key in this map, false otherwise.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(key: String): Option[Seq[Buf]]

    Permalink

    Optionally returns the value associated with a key.

    Optionally returns the value associated with a key.

    key

    the key value

    returns

    an option value containing the value associated with key in this map, or None if none exists.

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

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

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

    Permalink

    Tests whether the HeaderMap is empty.

    Tests whether the HeaderMap is empty.

    returns

    true if the map does not contain any key/value binding, false otherwise.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toBufSeq: Seq[(Buf, Buf)]

    Permalink

    Converts this HeaderMap to a sequence by flattening to a Seq[(Buf, Buf)] and thus repeats keys as first tuple member.

    Converts this HeaderMap to a sequence by flattening to a Seq[(Buf, Buf)] and thus repeats keys as first tuple member.

    returns

    a sequence of (Buf, Buf) tuples containing all elements of this HeaderMap.

  21. def toMap: Map[String, Seq[Buf]]

    Permalink

    Converts this HeaderMap to a map.

    Converts this HeaderMap to a map. Duplicate keys will be overwritten by later keys: since this is an unordered collection, which key is in the resulting map is undefined.

    returns

    a map containing all elements of this HeaderMap.

  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped