Packages

t

uk.gov.hmrc.http

HttpPatch

trait HttpPatch extends CorePatch with PatchHttpTransport with HttpVerb with ConnectionTracing with HttpHooks with Retries

Annotations
@deprecated
Deprecated

(Since version 15.0.0) Use HttpClientV2

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpPatch
  2. Retries
  3. HttpHooks
  4. ConnectionTracing
  5. HttpVerb
  6. Request
  7. PatchHttpTransport
  8. CorePatch
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def actorSystem: ActorSystem
    Attributes
    protected
    Definition Classes
    Retries
  2. abstract def configuration: Config
    Attributes
    protected
    Definition Classes
    Retries
  3. abstract def doPatch[A](url: String, body: A, headers: Seq[(String, String)] = Seq.empty)(implicit rds: Writes[A], ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
    PatchHttpTransport
  4. abstract val hooks: Seq[HttpHook]
    Definition Classes
    HttpHooks

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val NoneRequired: Seq[Nothing]
    Definition Classes
    HttpHooks
  5. def PATCH[I, O](url: String, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
    HttpPatchCorePatch
  6. def PATCH[I, O](url: URL, body: I, headers: Seq[(String, String)])(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
    CorePatch
  7. final def PATCH[I, O](url: URL, body: I)(implicit wts: Writes[I], rds: HttpReads[O], hc: HeaderCarrier, ec: ExecutionContext): Future[O]
    Definition Classes
    CorePatch
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def badGatewayMessage(verbName: String, url: String, e: Exception): String
    Definition Classes
    HttpVerb
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  11. lazy val connectionLogger: Logger
    Definition Classes
    ConnectionTracing
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def executeHooks(verb: String, url: URL, request: RequestData, responseF: Future[ResponseData])(implicit hc: HeaderCarrier, ec: ExecutionContext): Unit
    Attributes
    protected
    Definition Classes
    HttpHooks
  15. def formatMessage(ld: LoggingDetails, method: String, uri: String, startAge: Long, message: String): String
    Definition Classes
    ConnectionTracing
  16. def gatewayTimeoutMessage(verbName: String, url: String, e: Exception): String
    Definition Classes
    HttpVerb
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def logResult[A](ld: LoggingDetails, method: String, uri: String, startAge: Long)(result: Try[A]): Unit
    Definition Classes
    ConnectionTracing
  21. def mapErrors(httpMethod: String, url: String, f: Future[HttpResponse])(implicit ec: ExecutionContext): Future[HttpResponse]
    Definition Classes
    HttpVerb
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. def retryFor[A](label: String)(condition: PartialFunction[Exception, Boolean])(block: => Future[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Retries
  26. def retryOnSslEngineClosed[A](verb: String, url: String)(block: => Future[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Retries
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. def withTracing[T](method: String, uri: String)(body: => Future[T])(implicit ld: LoggingDetails, ec: ExecutionContext): Future[T]
    Definition Classes
    ConnectionTracing

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def retry[A](verb: String, url: String)(block: => Future[A])(implicit ec: ExecutionContext): Future[A]
    Definition Classes
    Retries
    Annotations
    @deprecated
    Deprecated

    (Since version 14.0.0) Use retryOnSslEngineClosed instead

Inherited from Retries

Inherited from HttpHooks

Inherited from ConnectionTracing

Inherited from HttpVerb

Inherited from Request

Inherited from PatchHttpTransport

Inherited from CorePatch

Inherited from AnyRef

Inherited from Any

Ungrouped