o
akka.http.scaladsl.model.headers
Access-Control-Allow-Origin
Companion class Access-Control-Allow-Origin
object Access-Control-Allow-Origin extends ModeledCompanion[Access-Control-Allow-Origin] with Serializable
- Source
- headers.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Access-Control-Allow-Origin
- Serializable
- ModeledCompanion
- Renderable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- val *: Access-Control-Allow-Origin
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(origin: HttpOrigin): Access-Control-Allow-Origin
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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! - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lowercaseName: String
- Definition Classes
- ModeledCompanion
- val name: String
- Definition Classes
- ModeledCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val null: Access-Control-Allow-Origin
- 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 andLeft(errors)
otherwise.- Definition Classes
- ModeledCompanion
- final def render[R <: Rendering](r: R): r.type
- Definition Classes
- ModeledCompanion → Renderable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])