Packages

object Access-Control-Allow-Origin extends ModeledCompanion[Access-Control-Allow-Origin] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Access-Control-Allow-Origin
  2. Serializable
  3. ModeledCompanion
  4. Renderable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val *: Access-Control-Allow-Origin
  2. def apply(origin: HttpOrigin): Access-Control-Allow-Origin
  3. def forRange(range: HttpOriginRange): Access-Control-Allow-Origin

    Creates an Access-Control-Allow-Origin header for the given origin range.

    Creates an Access-Control-Allow-Origin header for the given origin range.

    CAUTION: Even though allowed by the spec (https://www.w3.org/TR/cors/#access-control-allow-origin-response-header) Access-Control-Allow-Origin headers with more than a single origin appear to be largely unsupported in the field. Make sure to thoroughly test such usages with all expected clients!

  4. val lowercaseName: String
    Definition Classes
    ModeledCompanion
  5. val name: String
    Definition Classes
    ModeledCompanion
  6. val null: Access-Control-Allow-Origin
  7. def parseFromValueString(value: String): Either[List[ErrorInfo], Access-Control-Allow-Origin]

    Parses the given value into a header of this type.

    Parses the given value into a header of this type. Returns Right[T] if parsing was successful and Left(errors) otherwise.

    Definition Classes
    ModeledCompanion
  8. final def render[R <: Rendering](r: R): r.type
    Definition Classes
    ModeledCompanion → Renderable