Package

com.gu.memsub

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. case class Days(get: Int) extends Product with Serializable

    Permalink

    This is a lot like org,joda.time.Period but you can only set days here, not other units.

  2. class FutureSupplier[T] extends LazyLogging

    Permalink
  3. trait ScheduledTask[T] extends LazyLogging

    Permalink

    Use ScheduledTask only when initial value is well defined.

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

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

    Permalink

Value Members

  1. object Days extends Serializable

    Permalink
  2. object ScheduledTask

    Permalink
  3. object Timing extends LazyLogging

    Permalink

Ungrouped