Package akka.http.scaladsl.server
Class MalformedRequestContentRejection
java.lang.Object
akka.http.scaladsl.server.MalformedRequestContentRejection
- All Implemented Interfaces:
MalformedRequestContentRejection
,Rejection
,Rejection
,Serializable
,scala.Equals
,scala.Product
public final class MalformedRequestContentRejection
extends Object
implements MalformedRequestContentRejection, Rejection, scala.Product, Serializable
Rejection created by unmarshallers.
Signals that the request was rejected because unmarshalling failed with an error that wasn't
an
IllegalArgumentException
. Usually that means that the request content was not of the expected format.
Note that semantic issues with the request content (e.g. because some parameter was out of range)
will usually trigger a ValidationRejection
instead.- 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
-
MalformedRequestContentRejection
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
message
- Specified by:
message
in interfaceMalformedRequestContentRejection
-
cause
-
getCause
- Specified by:
getCause
in interfaceMalformedRequestContentRejection
-