Status

sealed trait Status extends Product with Serializable
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
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

Value members

Concrete methods

def asJava: HttpResponseStatus

Returns self as io.netty.handler.codec.http.HttpResponseStatus.

Returns self as io.netty.handler.codec.http.HttpResponseStatus.

def code: Int

Returns the status code.

Returns the status code.

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

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

Returns a Response with empty data and no headers.

Returns a Response with empty data and no headers.

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
Inherited from:
Product
Inherited from:
Product
Inherited from:
Product