uk.gov.hmrc.http.client

Members list

Type members

Classlikes

trait Executor

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ExecutorImpl
class ExecutorImpl(val actorSystem: ActorSystem, config: Configuration, hooks: Seq[HttpHook]) extends Executor, Retries, ConnectionTracing

Attributes

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

This client centralises the execution of the request to ensure that the common concerns (e.g. auditing, logging, retries) occur, but makes building the request more flexible (by exposing play-ws). It also supports streaming.

This client centralises the execution of the request to ensure that the common concerns (e.g. auditing, logging, retries) occur, but makes building the request more flexible (by exposing play-ws). It also supports streaming.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class HttpClientV2Impl(wsClient: WSClient, actorSystem: ActorSystem, config: Configuration, hooks: Seq[HttpHook]) extends HttpClientV2

Attributes

Supertypes
trait HttpClientV2
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final class RequestBuilderImpl(config: Configuration, optProxyServer: => Option[WSProxyServer], executor: Executor)(request: WSRequest, hookDataF: Option[Future[Option[Data[HookData]]]])(implicit hc: HeaderCarrier) extends RequestBuilder

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Streaming

Attributes

Supertypes
class Object
trait Matchable
class Any

Types

Value members

Inherited methods

def tag[A](instance: A): A & Streaming

Attributes

Inherited from:
StreamHttpReadsInstances

Implicits

Inherited implicits

implicit def readEitherSource(implicit mat: Materializer, errorTimeout: ErrorTimeout): StreamHttpReads[Either[UpstreamErrorResponse, Source[ByteString, _]]]

Attributes

Inherited from:
StreamHttpReadsInstances
implicit def readSource(implicit mat: Materializer, errorTimeout: ErrorTimeout): StreamHttpReads[Source[ByteString, _]]

Attributes

Inherited from:
StreamHttpReadsInstances
implicit def readStreamEitherHttpResponse(implicit mat: Materializer, errorTimeout: ErrorTimeout): StreamHttpReads[Either[UpstreamErrorResponse, HttpResponse]]

Attributes

Inherited from:
StreamHttpReadsInstances