Class CorsRejection.InvalidMethod
java.lang.Object
org.apache.pekko.http.cors.scaladsl.CorsRejection.InvalidMethod
- All Implemented Interfaces:
Serializable,CorsRejection.Cause,CorsRejection.InvalidMethod,CorsRejection.Cause,scala.Equals,scala.Product
- Enclosing class:
- CorsRejection
public static final class CorsRejection.InvalidMethod
extends Object
implements CorsRejection.InvalidMethod, CorsRejection.Cause, scala.Product, Serializable
Signals the CORS request was rejected because its method was 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
-
InvalidMethod
-
-
Method Details
-
method
-
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)
-
getMethod
- Specified by:
getMethodin interfaceCorsRejection.InvalidMethod
-