Packages

p

org.mdedetrich

webmodels

package webmodels

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class CorrelationId(value: String) extends AnyVal with Product with Serializable
  2. final case class ETag(value: String, strong: Boolean) extends Product with Serializable
  3. final case class FlowId(value: String) extends AnyVal with Product with Serializable
  4. final case class OAuth2Token(value: String) extends AnyVal with Product with Serializable
  5. final case class OAuth2TokenProvider(value: () => Future[OAuth2Token]) extends AnyVal with Product with Serializable

    Helper for services that need to retrieve an OAuth2Token

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

  7. trait RequestHeaders extends AnyRef
  8. final case class RequestId(value: String) extends AnyVal with Product with Serializable
  9. trait ResponseHeaders extends AnyRef

Value Members

  1. object RequestHeaders extends RequestHeaders
  2. object ResponseHeaders extends ResponseHeaders
  3. object circe

Ungrouped