ExecutorImpl

uk.gov.hmrc.http.client.ExecutorImpl
class ExecutorImpl(val actorSystem: ActorSystem, config: Configuration, hooks: Seq[HttpHook]) extends Executor, Retries, ConnectionTracing

Attributes

Graph
Supertypes
trait Retries
trait Executor
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final def execute[A](request: WSRequest, optHookDataF: Option[Future[Option[Data[HookData]]]], isStream: Boolean, httpReads: HttpReads[A])(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[A]
protected def mapErrors(request: WSRequest, responseF: Future[HttpResponse])(implicit ec: ExecutionContext): Future[HttpResponse]

Inherited methods

def formatMessage(ld: LoggingDetails, method: String, uri: String, startAge: Long, message: String): String

Attributes

Inherited from:
ConnectionTracing
def logResult[A](ld: LoggingDetails, method: String, uri: String, startAge: Long)(result: Try[A]): Unit

Attributes

Inherited from:
ConnectionTracing
def retryFor[A](label: String)(condition: PartialFunction[Exception, Boolean])(block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Attributes

Inherited from:
Retries
def retryOnSslEngineClosed[A](verb: String, url: String)(block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Attributes

Inherited from:
Retries
def withTracing[T](method: String, uri: String)(body: => Future[T])(implicit ld: LoggingDetails, ec: ExecutionContext): Future[T]

Attributes

Inherited from:
ConnectionTracing

Deprecated and Inherited methods

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

Attributes

Deprecated
true
Inherited from:
Retries

Concrete fields

override val actorSystem: ActorSystem
override val configuration: Config

Inherited fields

lazy val connectionLogger: Logger

Attributes

Inherited from:
ConnectionTracing