Package akka.http.scaladsl.server
Class CorsRejection
- java.lang.Object
-
- akka.http.scaladsl.server.CorsRejection
-
- All Implemented Interfaces:
CorsRejection
,Rejection
,Rejection
,java.io.Serializable
,scala.Equals
,scala.Product
public final class CorsRejection extends java.lang.Object implements CorsRejection, Rejection, scala.Product, java.io.Serializable
Rejection created by the CORS directives.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CorsRejection(java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1)
java.lang.String
description()
static java.lang.String
toString()
-
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1)
-
toString
public static java.lang.String toString()
-
description
public java.lang.String description()
- Specified by:
description
in interfaceCorsRejection
-
-