Origin

io.github.edadma.apion.CorsMiddleware.Origin
See theOrigin companion trait
object Origin

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Origin.type

Members list

Type members

Classlikes

case object Any extends Origin

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Origin
class Object
trait Matchable
class Any
Show all
Self type
Any.type
case class Function(f: String => Boolean) extends Origin

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Origin
class Object
trait Matchable
class Any
Show all
case class Multiple(origins: Set[String]) extends Origin

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Origin
class Object
trait Matchable
class Any
Show all
case class Pattern(regex: String) extends Origin

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Origin
class Object
trait Matchable
class Any
Show all
case class Single(origin: String) extends Origin

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Origin
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(origin: String): Origin
def apply(origins: Set[String]): Origin
def pattern(regex: String): Origin
def validate(f: String => Boolean): Origin