Status

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

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object Accepted.type
object BadGateway.type
object BadRequest.type
object Conflict.type
object Continue.type
object Created.type
class Custom
object ExpectationFailed.type
object FailedDependency.type
object Forbidden.type
object Found.type
object GatewayTimeout.type
object Gone.type
object LengthRequired.type
object Locked.type
object MethodNotAllowed.type
object MisdirectedRequest.type
object MovedPermanently.type
object MultiStatus.type
object MultipleChoices.type
object NoContent.type
object NotAcceptable.type
object NotExtended.type
object NotFound.type
object NotImplemented.type
object NotModified.type
object Ok.type
object PartialContent.type
object PaymentRequired.type
object PermanentRedirect.type
object PreconditionFailed.type
object Processing.type
object RequestTimeout.type
object RequestUriTooLong.type
object ResetContent.type
object SeeOther.type
object ServiceUnavailable.type
object SwitchingProtocols.type
object TemporaryRedirect.type
object TooManyRequests.type
object Unauthorized.type
object UpgradeRequired.type
object UseProxy.type
Self type

Members list

Concise view

Value members

Concrete methods

def toApp(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

Returns a Response with empty data and no headers.

Returns a Response with empty data and no headers.

Attributes

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Abstract fields

val code: Int

Returns the status code.

Returns the status code.

Attributes

Concrete fields

lazy val text: String