Packages

case class AllowedHostsConfig(allowed: Seq[String], shouldProtect: (RequestHeader) => Boolean = _ => true) extends Product with Serializable

Source
AllowedHostsFilter.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AllowedHostsConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AllowedHostsConfig(allowed: Seq[String], shouldProtect: (RequestHeader) => Boolean = _ => true)

Value Members

  1. val allowed: Seq[String]
  2. def productElementNames: Iterator[String]
    Definition Classes
    Product
  3. val shouldProtect: (RequestHeader) => Boolean
  4. def withHostPatterns(hosts: List[String]): AllowedHostsConfig
  5. def withShouldProtect(shouldProtect: Predicate[RequestHeader]): AllowedHostsConfig