Packages

final case class Host(host: Uri.Host, port: Int = 0) extends javadsl.model.headers.Host with RequestHeader with SensitiveHttpHeader with Product with Serializable

Source
headers.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Host
  2. Product
  3. Equals
  4. SensitiveHttpHeader
  5. RequestHeader
  6. ModeledHeader
  7. Serializable
  8. Host
  9. HttpHeader
  10. ToStringRenderable
  11. Renderable
  12. HttpHeader
  13. AnyRef
  14. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Host(host: Uri.Host, port: Int = 0)

Value Members

  1. def equalsIgnoreCase(other: Host): Boolean
  2. val host: Uri.Host
    Definition Classes
    HostHost
  3. def is(nameInLowerCase: String): Boolean

    Returns true if and only if nameInLowerCase.equals(lowercaseName()).

    Returns true if and only if nameInLowerCase.equals(lowercaseName()).

    Definition Classes
    HttpHeaderHttpHeader
  4. def isEmpty: Boolean
  5. def isNot(nameInLowerCase: String): Boolean

    Returns !is(nameInLowerCase).

    Returns !is(nameInLowerCase).

    Definition Classes
    HttpHeaderHttpHeader
  6. def lowercaseName(): String

    Returns the lower-cased name of the header.

    Returns the lower-cased name of the header.

    Definition Classes
    ModeledHeaderHttpHeaderHttpHeader
  7. def name(): String

    Returns the name of the header.

    Returns the name of the header.

    Definition Classes
    ModeledHeaderHttpHeaderHttpHeader
  8. val port: Int
    Definition Classes
    HostHost
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. final def render[R <: Rendering](r: R): r.type
    Definition Classes
    ModeledHeader → Renderable
  11. def renderInRequests(): Boolean

    Returns true if and only if the header is to be rendered in requests.

    Returns true if and only if the header is to be rendered in requests.

    Definition Classes
    RequestHeader → ModeledHeaderHttpHeader
  12. def renderInResponses(): Boolean

    Returns true if and only if the header is to be rendered in responses.

    Returns true if and only if the header is to be rendered in responses.

    Definition Classes
    ModeledHeaderHttpHeader
  13. def renderValue[R <: Rendering](r: R): r.type
    Definition Classes
    HostModeledHeader
  14. final def toString(): String
    Definition Classes
    SensitiveHttpHeader → AnyRef → Any
  15. def unsafeToString: String
    Definition Classes
    HttpHeader
  16. def value(): String

    Returns the String representation of the value of the header.

    Returns the String representation of the value of the header.

    Definition Classes
    ModeledHeaderHttpHeaderHttpHeader