Packages

c

play.filters.hosts

AllowedHostsFilter

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
Serializable, Serializable, Product, Equals, EssentialFilter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AllowedHostsFilter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. EssentialFilter
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler, contextComponents: JavaContextComponents)
  2. new AllowedHostsFilter(config: AllowedHostsConfig, errorHandler: HttpErrorHandler)
    Annotations
    @Inject()

Value Members

  1. def apply(next: EssentialAction): EssentialAction
    Definition Classes
    AllowedHostsFilterEssentialFilter
  2. def asJava: EssentialFilter
    Definition Classes
    EssentialFilter
  3. val config: AllowedHostsConfig
  4. val errorHandler: HttpErrorHandler