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

Instance Constructors

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

    (Since version 2.8.0) Use constructor without JavaContextComponents

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
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product