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 SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
MethodRejection
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1) 
- 
toString
- 
supported- Specified by:
- supportedin interface- MethodRejection
 
 
-