Package

com.gu.memsub

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. class FutureSupplier[T] extends LazyLogging

    Permalink
  2. trait ScheduledTask[T] extends LazyLogging

    Permalink

    Use ScheduledTask only when initial value is well defined.

  3. trait WebServiceHelper[T, Error <: Throwable] extends LazyLogging

    Permalink

    A wrapper for a JSON web service.

    A wrapper for a JSON web service. It automatically converts the response to a solid type, or handles and logs the error.

    T

    The base type of all the objects that this WebServiceHelper can return

    Error

    The type that will attempt to be extracted if extracting the expected object fails. This is useful when a web service has a standard error format

  4. case class WebServiceHelperError[T](responseCode: Int, responseBody: String)(implicit evidence$1: ClassTag[T]) extends Throwable with scala.Product with Serializable

    Permalink

Value Members

  1. object ScheduledTask

    Permalink
  2. object Timing extends LazyLogging

    Permalink

Ungrouped