A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/filters/cors/package.html below:

cors - play.filters.cors

Type Members
  1. trait CORSActionBuilder extends ActionBuilder[Request] with AbstractCORSPolicy

    An play.api.mvc.ActionBuilder that implements Cross-Origin Resource Sharing (CORS)

  2. trait CORSComponents extends AnyRef

    Components for the CORS Filter

  3. case class CORSConfig(allowedOrigins: Origins = Origins.None, isHttpMethodAllowed: (String) ⇒ Boolean = _ => true, isHttpHeaderAllowed: (String) ⇒ Boolean = _ => true, exposedHeaders: Seq[String] = Seq.empty, supportsCredentials: Boolean = true, preflightMaxAge: Duration = 1.hour, serveForbiddenOrigins: Boolean = false) extends Product with Serializable

    Configuration for AbstractCORSPolicy

    Configuration for AbstractCORSPolicy

    allowedOrigins

    §6.1.2 §6.2.2 Always matching is acceptable since the list of origins can be unbounded.

    isHttpMethodAllowed

    §6.2.5 Always matching is acceptable since the list of methods can be unbounded.

    isHttpHeaderAllowed

    §6.2.6 Always matching is acceptable since the list of headers can be unbounded.

  4. class CORSConfigProvider extends Provider[CORSConfig]

    Provider for CORSConfig.

  5. class CORSFilter extends Filter with AbstractCORSPolicy

    A play.api.mvc.Filter that implements Cross-Origin Resource Sharing (CORS)

    A play.api.mvc.Filter that implements Cross-Origin Resource Sharing (CORS)

    It can be configured to...

    See also

    CORS specification

    CORSActionBuilder

    AbstractCORSPolicy

    CORSConfig

  6. class CORSFilterProvider extends Provider[CORSFilter]

    Provider for CORSFilter.

  7. class CORSModule extends Module

    CORS module.

Value Members
  1. object CORSActionBuilder

    An play.api.mvc.ActionBuilder that implements Cross-Origin Resource Sharing (CORS)

    An play.api.mvc.ActionBuilder that implements Cross-Origin Resource Sharing (CORS)

    It can be configured to...

    Example:

    1. CORSActionBuilder(configuration) { Ok } // an action that uses the application configuration
      CORSActionBuilder(configuration, "my-conf-path") { Ok } // an action that uses a subtree of the application configuration
      val corsConfig: CORSConfig = ...
      CORSActionBuilder(conf) { Ok } // an action that uses a locally defined configuration
    See also

    CORS specification

    CORSFilter

  2. object CORSConfig extends Serializable

    Helpers to build CORS policy configurations

  3. object CORSFilter

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4