Package

org.mdedetrich

webmodels

Permalink

package webmodels

Visibility
  1. Public
  2. All

Type Members

  1. final case class CorrelationId(id: String) extends AnyVal with Product with Serializable

    Permalink
  2. case class ETag(tag: String, strong: Boolean) extends Product with Serializable

    Permalink
  3. final case class FlowId(id: String) extends AnyVal with Product with Serializable

    Permalink
  4. final case class OAuth2Token(token: String) extends AnyVal with Product with Serializable

    Permalink
  5. final case class OAuth2TokenProvider(provider: () ⇒ Future[OAuth2Token]) extends AnyVal with Product with Serializable

    Permalink

    Helper for services that need to retrieve an OAuth2Token

  6. case class Problem(type: Option[String], title: String, status: Option[Int], detail: Option[String], instance: Option[String], extraFields: JsonObject = JsonObject.empty) extends Product with Serializable

    Permalink

    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

    Permalink
  8. final case class RequestId(id: String) extends AnyVal with Product with Serializable

    Permalink
  9. trait ResponseHeaders extends AnyRef

    Permalink

Value Members

  1. object RequestHeaders extends RequestHeaders

    Permalink
  2. object ResponseHeaders extends ResponseHeaders

    Permalink
  3. object circe

    Permalink

Ungrouped