case class AllowedHostsConfig(allowed: Seq[String], shouldProtect: (RequestHeader) => Boolean = _ => true) extends Product with Serializable
- Source
- AllowedHostsFilter.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AllowedHostsConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AllowedHostsConfig(allowed: Seq[String], shouldProtect: (RequestHeader) => Boolean = _ => true)
Value Members
- val allowed: Seq[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val shouldProtect: (RequestHeader) => Boolean
- def withHostPatterns(hosts: List[String]): AllowedHostsConfig
- def withShouldProtect(shouldProtect: Predicate[RequestHeader]): AllowedHostsConfig