Package

com.gu.contentapi

client

Permalink

package client

Visibility
  1. Public
  2. All

Type Members

  1. abstract class BackoffStrategy extends Product with Serializable

    Permalink
  2. final case class Constant extends Retryable with Product with Serializable

    Permalink
  3. case class ContentApiBackoffException(message: String) extends RuntimeException with Product with Serializable

    Permalink
  4. trait ContentApiClient extends AnyRef

    Permalink
  5. trait ContentApiQueries extends AnyRef

    Permalink

    Utility functions to instantiate each type of query

  6. trait Decoder[Query] extends AnyRef

    Permalink

    Typeclass witnessing how to unmarshall a Thrift stream of bytes into a concrete data type

    Typeclass witnessing how to unmarshall a Thrift stream of bytes into a concrete data type

    Query

    the query type

  7. final case class Exponential extends Retryable with Product with Serializable

    Permalink
  8. final case class Multiple extends Retryable with Product with Serializable

    Permalink
  9. trait PaginatedApiResponse[Response] extends AnyRef

    Permalink

    Typeclass witnessing how to extract the id for a paginated query

  10. trait Parameter extends AnyRef

    Permalink
  11. trait Parameters[Owner <: Parameters[Owner]] extends AnyRef

    Permalink
  12. final case class RetryFailed extends BackoffStrategy with Product with Serializable

    Permalink
  13. abstract class Retryable extends BackoffStrategy

    Permalink
  14. trait RetryableContentApiClient extends ContentApiClient

    Permalink
  15. abstract class ScheduledExecutor extends AnyRef

    Permalink

    A single threaded executor for tasks scheduled in the future

    A single threaded executor for tasks scheduled in the future

    Exceptions thrown

    IllegalArgumentException if { @code corePoolSize < 0}

    NullPointerException if { @code threadFactory} or { @code handler} is null

Value Members

  1. object BackoffStrategy extends Serializable

    Permalink
  2. object ContentApiClient extends ContentApiQueries

    Permalink
  3. object HttpRetry

    Permalink
  4. object PaginatedApiResponse

    Permalink

    Instances of PaginatedApiResponse for response types potentially containing pages of results

  5. object Retry

    Permalink
  6. object ScheduledExecutor

    Permalink
  7. package model

    Permalink
  8. package thrift

    Permalink
  9. package utils

    Permalink

Ungrouped