uk.co.bigbeeconsultants.http.header

Headers

case class Headers(list: List[Header]) extends Product with Serializable

Holds a list of headers. Remember that header names are case-insensitive; the get, find, etc methods take this into account.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Headers
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Headers(list: List[Header])

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 +(newHeader: Header): Headers

    An alias for add.

  5. def ++(newHeaders: Headers): Headers

    Conjoins two instances to produce a new instance that includes all the headers from both.

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

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

    Definition Classes
    Any
  8. def add(newHeader: Header): Headers

    Creates a new Headers with an extra header prepended.

    Creates a new Headers with an extra header prepended. If this header is already present, this method has the effect of adding another header with the same name.

  9. lazy val ageHdr: Option[Long]

  10. def apply(index: Int): Header

    Gets the header at a specified index.

  11. def apply(name: HeaderName): Header

    Finds the header that has a given name.

    Finds the header that has a given name. If none exists, an exception will be thrown. If more than one match exists, only the first will be returned.

    name

    the required header name. Uppercase or lowercase doesn't matter. Via an implicit conversion, a String can be used here.

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. lazy val cacheControlHdr: Option[CacheControlValue]

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def contains(name: HeaderName): Boolean

    Tests whether a given header is present.

    Tests whether a given header is present.

    name

    the required header name. Uppercase or lowercase doesn't matter. Via an implicit conversion, a String can be used here.

  16. lazy val contentEncodinghHdr: Option[String]

  17. lazy val contentLengthHdr: Option[Long]

  18. lazy val dateHdr: Option[HttpDateTimeInstant]

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

    Definition Classes
    AnyRef
  20. lazy val etagHdr: Option[EntityTag]

  21. lazy val expiresHdr: Option[HttpDateTimeInstant]

  22. def filter(name: HeaderName): Headers

    Finds all the headers that have a given name.

    Finds all the headers that have a given name.

    name

    the required header name. Uppercase or lowercase doesn't matter. Via an implicit conversion, a String can be used here.

  23. def filterNot(name: HeaderName): Headers

    Finds all the headers that do not have a given name.

    Finds all the headers that do not have a given name.

    name

    the required header name. Uppercase or lowercase doesn't matter. Via an implicit conversion, a String can be used here.

  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def foreach[U](f: (Header) ⇒ U): Unit

  26. def get(name: HeaderName): Option[Header]

    Finds the header that has a given name.

    Finds the header that has a given name. If more than one match exists, only the first will be returned. Use 'filter' if you anticipate more than one.

    name

    the required header name. Uppercase or lowercase doesn't matter. Via an implicit conversion, a String can be used here.

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

    Definition Classes
    AnyRef → Any
  28. def isEmpty: Boolean

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def iterator: Iterator[Header]

  31. lazy val lastModifiedHdr: Option[HttpDateTimeInstant]

  32. val list: List[Header]

  33. lazy val locationHdr: Option[String]

  34. def names: List[String]

    Gets the list of header names.

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

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

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

    Definition Classes
    AnyRef
  38. def set(newHeader: Header): Headers

    Creates a new Headers augmented with a specified header.

    Creates a new Headers augmented with a specified header. If this header is already present, it is removed, so this method has the effect of replacing the existing value(s). Otherwise it adds a new header.

  39. def size: Int

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

    Definition Classes
    AnyRef
  41. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. lazy val wwwAuthenticateHdrs: List[AuthenticateValue]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped