HttpServerExceptionBase

class Object
trait Matchable
class Any

Value members

Concrete methods

inline def withContentOf[A](a: A): HttpServerException

Set the content body using a given object. Encoding can be JSON or MsgPack based on Content-Type header.

Set the content body using a given object. Encoding can be JSON or MsgPack based on Content-Type header.

inline def withContentOf[A](a: A, codecFactory: MessageCodecFactory): HttpServerException

Set the content body using a given object and codec factory. Encoding can be JSON or MsgPack based on Content-Type header.

Set the content body using a given object and codec factory. Encoding can be JSON or MsgPack based on Content-Type header.

inline def withJsonOf[A](a: A): HttpServerException
inline def withJsonOf[A](a: A, codecFactory: MessageCodecFactory): HttpServerException
inline def withMsgPackOf[A](a: A): HttpServerException
inline def withMsgPackOf[A](a: A, codecFactory: MessageCodecFactory): HttpServerException