Packages

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
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MalformedRequestContentRejection
  2. Serializable
  3. Product
  4. Equals
  5. Rejection
  6. MalformedRequestContentRejection
  7. Rejection
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

Value Members

  1. val cause: Throwable
  2. def getCause: Throwable
  3. val message: String
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product