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 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- 
MalformedRequestContentRejection
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2) 
- 
toString
- 
message- Specified by:
- messagein interface- MalformedRequestContentRejection
 
- 
cause
- 
getCause- Specified by:
- getCausein interface- MalformedRequestContentRejection
 
 
-