Class CorsRejection.InvalidHeaders
java.lang.Object
org.apache.pekko.http.cors.scaladsl.CorsRejection.InvalidHeaders
- All Implemented Interfaces:
Serializable,CorsRejection.Cause,CorsRejection.InvalidHeaders,CorsRejection.Cause,scala.Equals,scala.Product
- Enclosing class:
- CorsRejection
public static final class CorsRejection.InvalidHeaders
extends Object
implements CorsRejection.InvalidHeaders, CorsRejection.Cause, scala.Product, Serializable
Signals the CORS request was rejected because its headers were invalid.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
InvalidHeaders
-
-
Method Details
-
headers
-
description
Description copied from interface:CorsRejection.CauseDescription of this Cause in a human-readable format. Can be used for debugging or custom Rejection handlers.- Specified by:
descriptionin interfaceCorsRejection.Cause- Returns:
- (undocumented)
-
getHeaders
- Specified by:
getHeadersin interfaceCorsRejection.InvalidHeaders
-