Packages

trait StatusCodes extends AnyRef

Source
StatusCodes.scala
Linear Supertypes
Known Subclasses
BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, MuxEndpoints, StatusCodes, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntities, JsonEntitiesFromCodecs, JsonEntitiesFromEncodersAndDecoders, JsonEntitiesFromSchemas, MuxEndpoints, StatusCodes, Urls, Assets, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonCodecs, JsonEntities, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, LowLevelEndpoints, MuxEndpoints, Responses, JsonEntitiesFromCodecs, JsonEntitiesFromCodecs, Assets, BasicAuthentication, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromEncodersAndDecoders, JsonEntitiesFromSchemas, StatusCodes, Urls, Assets, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntities, JsonEntitiesFromSchemas, MuxEndpoints, Responses, StatusCodes, BasicAuthentication, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, MuxEndpoints, StatusCodes, Assets, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromEncodersAndDecoders, JsonEntitiesFromSchemas, LowLevelEndpoints, MuxEndpoints, StatusCodes, JsonEntities, JsonEntitiesFromCodecs, BasicAuthentication, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, Responses, StatusCodes, BasicAuthentication, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, MuxEndpoints, StatusCodes, Assets, BasicAuthentication, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, LowLevelEndpoints, MuxEndpoints, StatusCodes, JsonEntities, Endpoints, MuxEndpoints, Endpoints, EndpointsWithCustomErrors, Endpoints, EndpointsWithCustomErrors, MuxEndpoints
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. StatusCodes
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type StatusCode

    HTTP Status Code

Abstract Value Members

  1. abstract def Accepted: StatusCode

  2. abstract def BadRequest: StatusCode

    Note

    You should use the badRequest constructor provided by the endpoints4s.algebra.Responses trait to ensure that errors produced by endpoints4s are consistently handled by interpreters.

  3. abstract def Created: StatusCode

  4. abstract def Forbidden: StatusCode

  5. abstract def InternalServerError: StatusCode

    Note

    You should use the internalServerError constructor provided by the endpoints4s.algebra.Responses trait to ensure that errors produced by endpoints4s are consistently handled by interpreters.

  6. abstract def NoContent: StatusCode

  7. abstract def NotFound: StatusCode

  8. abstract def NotImplemented: StatusCode

  9. abstract def OK: StatusCode

  10. abstract def PayloadTooLarge: StatusCode

  11. abstract def TooManyRequests: StatusCode

  12. abstract def Unauthorized: StatusCode

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from StatusCodes toany2stringadd[StatusCodes] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (StatusCodes, B)
    Implicit
    This member is added by an implicit conversion from StatusCodes toArrowAssoc[StatusCodes] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def AlreadyReported: StatusCode

  7. def Conflict: StatusCode

  8. def ExpectationFailed: StatusCode

  9. def FailedDependency: StatusCode

  10. def Gone: StatusCode

  11. def IMUsed: StatusCode

  12. def LengthRequired: StatusCode

  13. def Locked: StatusCode

  14. def MethodNotAllowed: StatusCode

  15. def MisdirectedRequest: StatusCode

  16. def MultiStatus: StatusCode

  17. def NonAuthoritativeInformation: StatusCode

  18. def NotAcceptable: StatusCode

  19. def NotModified: StatusCode

  20. def PartialContent: StatusCode

  21. def PaymentRequired: StatusCode

  22. def PreconditionFailed: StatusCode

  23. def PreconditionRequired: StatusCode

  24. def ProxyAuthenticationRequired: StatusCode

  25. def RangeNotSatisfiable: StatusCode

  26. def RequestHeaderFieldsTooLarge: StatusCode

  27. def RequestTimeout: StatusCode

  28. def ResetContent: StatusCode

  29. def TooEarly: StatusCode

  30. def UnavailableForLegalReasons: StatusCode

  31. def UnprocessableEntity: StatusCode

  32. def UnsupportedMediaType: StatusCode

  33. def UpgradeRequired: StatusCode

  34. def UriTooLong: StatusCode

  35. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  36. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  37. def ensuring(cond: (StatusCodes) => Boolean, msg: => Any): StatusCodes
    Implicit
    This member is added by an implicit conversion from StatusCodes toEnsuring[StatusCodes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  38. def ensuring(cond: (StatusCodes) => Boolean): StatusCodes
    Implicit
    This member is added by an implicit conversion from StatusCodes toEnsuring[StatusCodes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  39. def ensuring(cond: Boolean, msg: => Any): StatusCodes
    Implicit
    This member is added by an implicit conversion from StatusCodes toEnsuring[StatusCodes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  40. def ensuring(cond: Boolean): StatusCodes
    Implicit
    This member is added by an implicit conversion from StatusCodes toEnsuring[StatusCodes] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  41. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  43. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from StatusCodes toStringFormat[StatusCodes] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  44. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (StatusCodes, B)
    Implicit
    This member is added by an implicit conversion from StatusCodes toArrowAssoc[StatusCodes] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromStatusCodes to any2stringadd[StatusCodes]

Inherited by implicit conversion StringFormat fromStatusCodes to StringFormat[StatusCodes]

Inherited by implicit conversion Ensuring fromStatusCodes to Ensuring[StatusCodes]

Inherited by implicit conversion ArrowAssoc fromStatusCodes to ArrowAssoc[StatusCodes]

Types

Types introduced by the algebra

Operations

Operations creating and transforming values

Ungrouped