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
- Serializable
- Product
- Equals
- EssentialFilter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler, contextComponents: JavaContextComponents)
-
new
AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler)
- Annotations
- @Inject()
Value Members
-
def
apply(next: EssentialAction): EssentialAction
- Definition Classes
- AllowedHostsFilter → EssentialFilter
-
def
asJava: EssentialFilter
- Definition Classes
- EssentialFilter
- val config: AllowedHostsConfig
- val errorHandler: HttpErrorHandler