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 ConnectionTracingtrait Retriestrait Executorclass Objecttrait Matchableclass AnyShow 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
Inherited fields
Attributes
- Inherited from:
- ConnectionTracing
In this article