Retries

uk.gov.hmrc.http.Retries
trait Retries

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ExecutorImpl
trait HttpDelete
trait HttpClient
trait HttpGet
trait HttpPatch
trait HttpPost
trait HttpPut
Show all

Members list

Value members

Abstract methods

protected def actorSystem: ActorSystem
protected def configuration: Config

Concrete methods

def retryFor[A](label: String)(condition: PartialFunction[Exception, Boolean])(block: => Future[A])(implicit ec: ExecutionContext): Future[A]
def retryOnSslEngineClosed[A](verb: String, url: String)(block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Deprecated methods

def retry[A](verb: String, url: String)(block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Attributes

Deprecated
true