MediaTypeMissing

org.http4s.MediaTypeMissing
final case class MediaTypeMissing(expected: Set[MediaRange]) extends UnsupportedMediaTypeFailure

Indicates that a Message attempting to be decoded has no MediaType and no EntityDecoder was lenient enough to accept it.

Attributes

Source:
MessageFailure.scala
Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Provides a message appropriate for logging.

Provides a message appropriate for logging.

Attributes

Source:
MessageFailure.scala

Inherited methods

Attributes

Inherited from:
Throwable
protected def expectedMsg: String

Attributes

Inherited from:
UnsupportedMediaTypeFailure
Source:
MessageFailure.scala
override def fillInStackTrace(): Throwable

Attributes

Definition Classes
Inherited from:
NoStackTrace
final override def getCause: Throwable

Attributes

Definition Classes
Inherited from:
MessageFailure
Source:
MessageFailure.scala

Attributes

Inherited from:
Throwable
final override def getMessage: String

Attributes

Definition Classes
Inherited from:
MessageFailure
Source:
MessageFailure.scala

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
protected def responseMsg: String

Attributes

Inherited from:
UnsupportedMediaTypeFailure
Source:
MessageFailure.scala

Attributes

Inherited from:
Throwable
def toHttpResponse[F[_]](httpVersion: HttpVersion): Response[F]

Provides a default rendering of this failure as a Response.

Provides a default rendering of this failure as a Response.

Attributes

Inherited from:
UnsupportedMediaTypeFailure
Source:
MessageFailure.scala

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Inherited from:
Throwable