Package akka.http.scaladsl.server
Class MethodRejection
java.lang.Object
akka.http.scaladsl.server.MethodRejection
- All Implemented Interfaces:
MethodRejection
,Rejection
,Rejection
,Serializable
,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, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods 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:
supported
in interfaceMethodRejection
-