trait StatusCodes extends AnyRef

Source
StatusCodes.scala
Linear Supertypes
Known Subclasses
Assets, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, ChunkedJsonRequestEntities, ChunkedJsonResponseEntities, Endpoints, EndpointsWithCustomErrors, JsonCodecs, JsonEntities, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, LowLevelEndpoints, MuxEndpoints, Responses, JsonEntitiesFromCodecs, JsonEntitiesFromCodecs, Assets, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, ChunkedJsonRequestEntities, ChunkedJsonResponseEntities, ChunkedRequestEntities, ChunkedResponseEntities, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, StatusCodes, JsonEntities, Endpoints, EndpointsWithCustomErrors, Endpoints, EndpointsWithCustomErrors, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, MuxEndpoints, StatusCodes, Urls, Assets, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromEncodersAndDecoders, JsonEntitiesFromSchemas, MuxEndpoints, StatusCodes, Urls, Assets, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntities, JsonEntitiesFromSchemas, MuxEndpoints, Responses, StatusCodes, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, JsonEntitiesFromSchemas, MuxEndpoints, StatusCodes, BasicAuthentication, ChunkedEntities, ChunkedJsonEntities, Endpoints, EndpointsWithCustomErrors, JsonEntities, JsonEntitiesFromCodecs, JsonEntitiesFromEncodersAndDecoders, JsonEntitiesFromSchemas, MuxEndpoints, StatusCodes, Urls, BasicAuthentication, Endpoints, EndpointsWithCustomErrors, JsonEntitiesFromCodecs, MuxEndpoints, StatusCodes
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 PermanentRedirect: StatusCode

  23. def PreconditionFailed: StatusCode

  24. def PreconditionRequired: StatusCode

  25. def ProxyAuthenticationRequired: StatusCode

  26. def RangeNotSatisfiable: StatusCode

  27. def RequestHeaderFieldsTooLarge: StatusCode

  28. def RequestTimeout: StatusCode

  29. def ResetContent: StatusCode

  30. def TemporaryRedirect: StatusCode

  31. def TooEarly: StatusCode

  32. def UnavailableForLegalReasons: StatusCode

  33. def UnprocessableEntity: StatusCode

  34. def UnsupportedMediaType: StatusCode

  35. def UpgradeRequired: StatusCode

  36. def UriTooLong: StatusCode

  37. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  38. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  39. 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
  40. 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
  41. 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
  42. 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
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  45. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  47. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. 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

    (Since version 9)

  2. 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
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. 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