c

akka.http.scaladsl.server

MalformedRequestContentRejection

final case class MalformedRequestContentRejection(message: String, cause: Throwable) extends javadsl.server.MalformedRequestContentRejection with Rejection with Product with 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.

Source
Rejection.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MalformedRequestContentRejection
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Rejection
  7. MalformedRequestContentRejection
  8. Rejection
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MalformedRequestContentRejection(message: String, cause: Throwable)

Value Members

  1. val cause: Throwable
  2. def getCause: Throwable
  3. val message: String