package webmodels
- Alphabetic
- Public
- Protected
Type Members
- final case class CorrelationId(value: String) extends AnyVal with Product with Serializable
- final case class ETag(value: String, strong: Boolean) extends Product with Serializable
- final case class FlowId(value: String) extends AnyVal with Product with Serializable
- final case class OAuth2Token(value: String) extends AnyVal with Product with Serializable
- final case class OAuth2TokenProvider(value: () => Future[OAuth2Token]) extends AnyVal with Product with Serializable
Helper for services that need to retrieve an OAuth2Token
- final case class Problem(type: String, title: Option[String] = None, status: Option[Int] = None, detail: Option[String] = None, instance: Option[String] = None, extraFields: JsonObject = JsonObject.empty) extends Product with Serializable
Problem Details for HTTP APIs
Problem Details for HTTP APIs
- title
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; se
- status
The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
- detail
A human-readable explanation specific to this occurrence of the problem.
- instance
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
- extraFields
Any extra fields placed into the problem object that aren't part of the standard
- See also
https://tools.ietf.org/html/rfc7807
- trait RequestHeaders extends AnyRef
- final case class RequestId(value: String) extends AnyVal with Product with Serializable
- trait ResponseHeaders extends AnyRef
Value Members
- object RequestHeaders extends RequestHeaders
- object ResponseHeaders extends ResponseHeaders
- object circe