Custom

zio.http.Status.Custom
final case class Custom(code: Int) extends Status

Attributes

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

Members list

Value members

Inherited methods

def isClientError: Boolean

Attributes

Inherited from:
Status
def isError: Boolean

Attributes

Inherited from:
Status
def isInformational: Boolean

Attributes

Inherited from:
Status
def isRedirection: Boolean

Attributes

Inherited from:
Status
def isServerError: Boolean

Attributes

Inherited from:
Status
def isSuccess: Boolean

Attributes

Inherited from:
Status
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def toHttpApp(implicit trace: Trace): Handler[Any, Nothing, Any, Response]

Returns an HttpApp[Any, Nothing] that responses with this http status code.

Returns an HttpApp[Any, Nothing] that responses with this http status code.

Attributes

Inherited from:
Status

Returns a Response with empty data and no headers.

Returns a Response with empty data and no headers.

Attributes

Inherited from:
Status

Inherited fields

lazy val text: String

Attributes

Inherited from:
Status