HttpServerExceptionBase

wvlet.airframe.http.HttpServerExceptionBase

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

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.

Attributes

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.

Attributes

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