Class MalformedRequestContentRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.MalformedRequestContentRejection
- All Implemented Interfaces:
Serializable,MalformedRequestContentRejection,Rejection,Rejection,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, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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:
messagein interfaceMalformedRequestContentRejection
-
cause
-
getCause
- Specified by:
getCausein interfaceMalformedRequestContentRejection
-