Status

zio.http.Status
See theStatus companion object
sealed trait Status extends Product, Serializable

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Members list

Value members

Concrete methods

Returns a Response with empty data and no headers.

Returns a Response with empty data and no headers.

Attributes

def toRoutes(implicit trace: Trace): Routes[Any, Nothing]

Returns a Routes[Any, Nothing] that responses with this http status code.

Returns a Routes[Any, Nothing] that responses with this http status code.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Abstract fields

val code: Int

Returns the status code.

Returns the status code.

Attributes

Concrete fields

lazy val text: String