package hosts
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait AllowedHostsComponents extends AnyRef
- case class AllowedHostsConfig(allowed: Seq[String], shouldProtect: (RequestHeader) => Boolean = _ => true) extends Product with Serializable
- class AllowedHostsConfigProvider extends Provider[AllowedHostsConfig]
- Annotations
- @Singleton()
- case class AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler) extends EssentialFilter with Product with Serializable
A filter that denies requests by hosts that do not match a configured list of allowed hosts.
- class AllowedHostsModule extends SimpleModule
Value Members
- object AllowedHostsConfig extends Serializable