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.
- Source
- AllowedHostsFilter.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AllowedHostsFilter
- Serializable
- Product
- Equals
- EssentialFilter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler)
- new AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler)
- Annotations
- @Inject()
- new AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler, contextComponents: JavaContextComponents)
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Use constructor without JavaContextComponents
Value Members
- def apply(next: EssentialAction): EssentialAction
- Definition Classes
- AllowedHostsFilter → EssentialFilter
- def asJava: EssentialFilter
- Definition Classes
- EssentialFilter
- val config: AllowedHostsConfig
- val errorHandler: HttpErrorHandler
- def productElementNames: Iterator[String]
- Definition Classes
- Product