HttpPut
uk.gov.hmrc.http.HttpPut
trait HttpPut extends CorePut, PutHttpTransport, HttpVerb, ConnectionTracing, HttpHooks, Retries
Attributes
- Deprecated
- true
- Graph
-
- Supertypes
-
trait Retriestrait HttpHookstrait ConnectionTracingtrait HttpVerbtrait Requesttrait PutHttpTransporttrait CorePutclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait HttpClient
Members list
Value members
Concrete methods
override def PUT[I, O](url: String, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
Attributes
- Definition Classes
override def PUTString[O](url: String, body: String, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
Attributes
- Definition Classes
Inherited methods
def PUT[I, O](url: URL, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
Attributes
- Inherited from:
- CorePut
final def PUT[I, O](url: URL, body: I)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
Attributes
- Inherited from:
- CorePut
def PUTString[O](url: URL, body: String, headers: Seq[(String, String)])(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
Attributes
- Inherited from:
- CorePut
final def PUTString[O](url: URL, body: String)(implicit rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
Attributes
- Inherited from:
- CorePut
Attributes
- Inherited from:
- HttpVerb
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
Inherited and Abstract methods
Attributes
- Inherited from:
- Retries
Attributes
- Inherited from:
- Retries
def doPut[A](url: String, body: A, headers: Seq[(String, String)])(implicit rds: Writes[A], ec: ExecutionContext): Future[HttpResponse]
Attributes
- Inherited from:
- PutHttpTransport
def doPutString(url: String, body: String, headers: Seq[(String, String)])(implicit ec: ExecutionContext): Future[HttpResponse]
Attributes
- Inherited from:
- PutHttpTransport
In this article