RouteHandler

oxygen.http.server.RouteHandler
final case class RouteHandler[E, A](errorResponseCodec: ResponseCodec[E], successResponseCodec: ResponseCodec[A], errorCodes: HttpCodes[E], successCodes: HttpCodes[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 convertDecodingFailure(error: DecodingFailure): UIO[HttpResponse]
def convertDefect(cause: Cause[Nothing], exposeInternalErrors: Boolean): UIO[HttpResponse]
def convertError(error: E): UIO[HttpResponse]
def convertSuccess(success: A): HttpResponse

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product