Package akka.http.scaladsl.server
Class MethodRejection
- java.lang.Object
-
- akka.http.scaladsl.server.MethodRejection
-
- All Implemented Interfaces:
MethodRejection
,Rejection
,Rejection
,java.io.Serializable
,scala.Equals
,scala.Product
public final class MethodRejection extends java.lang.Object implements MethodRejection, Rejection, scala.Product, java.io.Serializable
Rejection created by method filters. Signals that the request was rejected because the HTTP method is unsupported.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodRejection(HttpMethod supported)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1)
HttpMethod
supported()
static java.lang.String
toString()
-
-
-
Constructor Detail
-
MethodRejection
public MethodRejection(HttpMethod supported)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1)
-
toString
public static java.lang.String toString()
-
supported
public HttpMethod supported()
- Specified by:
supported
in interfaceMethodRejection
-
-