public final class InvalidOriginRejection extends java.lang.Object implements InvalidOriginRejection, Rejection, scala.Product, java.io.Serializable
pekko.http.scaladsl.server.directives.HeaderDirectives.checkSameOrigin
.
Signals that the request was rejected because Origin
header value is invalid.Constructor and Description |
---|
InvalidOriginRejection(scala.collection.immutable.Seq<HttpOrigin> allowedOrigins) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.Seq<HttpOrigin> |
allowedOrigins() |
abstract static R |
apply(T1 v1) |
java.util.List<HttpOrigin> |
getAllowedOrigins() |
static java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public InvalidOriginRejection(scala.collection.immutable.Seq<HttpOrigin> allowedOrigins)
public abstract static R apply(T1 v1)
public static java.lang.String toString()
public scala.collection.immutable.Seq<HttpOrigin> allowedOrigins()
public java.util.List<HttpOrigin> getAllowedOrigins()
getAllowedOrigins
in interface InvalidOriginRejection