com.gu.membership

util

package util

Visibility
  1. Public
  2. All

Type Members

  1. class FutureSupplier[T] extends AnyRef

  2. trait ScheduledTask[T] extends LazyLogging

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

    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(http: WebServiceHelper[_, _ <: Throwable], response: WSResponse) extends Throwable with Product with Serializable

Value Members

  1. object ScheduledTask

  2. object Timing extends LazyLogging

Ungrouped