ResponseHandler

oxygen.http.server.ResponseHandler
final case class ResponseHandler[E, A](errorResponseCodec: ResponseCodec[E], successResponseCodec: ResponseCodec[A], serverErrorHandler: ServerErrorHandler[E])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def convertCause(cause: Cause[E], exposeInternalErrors: Boolean): UIO[Response]
def convertDecodingFailure(error: RequestDecodingFailure): UIO[Response]
def convertDefect(cause: Cause[Nothing], exposeInternalErrors: Boolean): UIO[Response]
def errorResponse(error: E): Response
def successResponse(success: A): Response

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product