Class MethodRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.MethodRejection
- All Implemented Interfaces:
Serializable,MethodRejection,Rejection,Rejection,scala.Equals,scala.Product
public final class MethodRejection
extends Object
implements MethodRejection, Rejection, scala.Product, Serializable
Rejection created by method filters.
Signals that the request was rejected because the HTTP method is unsupported.
- 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
-
MethodRejection
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
supported
- Specified by:
supportedin interfaceMethodRejection
-