Class InvalidOriginRejection

  • All Implemented Interfaces:
    InvalidOriginRejection, Rejection, Rejection, java.io.Serializable, scala.Equals, scala.Product

    public final class InvalidOriginRejection
    extends java.lang.Object
    implements InvalidOriginRejection, Rejection, scala.Product, java.io.Serializable
    Rejection created by akka.http.scaladsl.server.directives.HeaderDirectives.checkSameOrigin. Signals that the request was rejected because Origin header value is invalid.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      scala.collection.immutable.Seq<HttpOrigin> allowedOrigins()  
      abstract static R apply​(T1 v1)  
      java.util.List<HttpOrigin> getAllowedOrigins()  
      static java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • InvalidOriginRejection

        public InvalidOriginRejection​(scala.collection.immutable.Seq<HttpOrigin> allowedOrigins)
    • Method Detail

      • apply

        public abstract static R apply​(T1 v1)
      • toString

        public static java.lang.String toString()
      • allowedOrigins

        public scala.collection.immutable.Seq<HttpOrigin> allowedOrigins()