HttpGet
uk.gov.hmrc.http.HttpGet
trait HttpGet extends CoreGet, GetHttpTransport, HttpVerb, ConnectionTracing, HttpHooks, Retries
Attributes
- Deprecated
- true
- Graph
-
- Supertypes
-
trait Retriestrait HttpHookstrait ConnectionTracingtrait HttpVerbtrait Requesttrait GetHttpTransporttrait CoreGetclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait HttpClient
Members list
Value members
Concrete methods
override def GET[A](url: String, queryParams: Seq[(String, String)], headers: Seq[(String, String)])(implicit rds: HttpReads[A], hc: HeaderCarrier, ec: ExecutionContext): Future[A]
Attributes
- Definition Classes
Inherited methods
def GET[A](url: URL, headers: Seq[(String, String)])(implicit rds: HttpReads[A], hc: HeaderCarrier, ec: ExecutionContext): Future[A]
Attributes
- Inherited from:
- CoreGet
final def GET[A](url: URL)(implicit rds: HttpReads[A], hc: HeaderCarrier, ec: ExecutionContext): Future[A]
Attributes
- Inherited from:
- CoreGet
Attributes
- Inherited from:
- Retries
Attributes
- Inherited from:
- HttpVerb
Attributes
- Inherited from:
- Retries
def doGet(url: String, headers: Seq[(String, String)])(implicit ec: ExecutionContext): Future[HttpResponse]
Attributes
- Inherited from:
- GetHttpTransport
protected def executeHooks(verb: String, url: URL, request: RequestData, responseF: Future[ResponseData])(implicit hc: HeaderCarrier, ec: ExecutionContext): Unit
Attributes
- Inherited from:
- HttpHooks
def formatMessage(ld: LoggingDetails, method: String, uri: String, startAge: Long, message: String): String
Attributes
- Inherited from:
- ConnectionTracing
Attributes
- Inherited from:
- HttpVerb
def logResult[A](ld: LoggingDetails, method: String, uri: String, startAge: Long)(result: Try[A]): Unit
Attributes
- Inherited from:
- ConnectionTracing
def mapErrors(httpMethod: String, url: String, f: Future[HttpResponse])(implicit ec: ExecutionContext): Future[HttpResponse]
Attributes
- Inherited from:
- HttpVerb
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
In this article