uk.gov.hmrc.objectstore.client.play

Members list

Type members

Classlikes

case class HttpBody[BODY](length: Option[Long], md5: Option[Md5Hash], writeBody: BODY, release: () => Unit)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait PlayMonads
class Object
trait Matchable
class Any
Show all
Self type
Implicits.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object InMemoryReads

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Md5HashUtils

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait MonadFuture[F[_]] extends Monad[F]

Attributes

Supertypes
trait Monad[F]
trait Functor[F]
class Object
trait Matchable
class Any
Known subtypes
trait PlayMonad[F]
object PlayFormats

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait PlayMonad[F[_]] extends MonadError[F, Exception], MonadFuture[F]

Attributes

Supertypes
trait MonadFuture[F]
trait MonadError[F, Exception]
trait Monad[F]
trait Functor[F]
class Object
trait Matchable
class Any
Show all
trait PlayMonads

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Implicits
@Singleton
class PlayObjectStoreClient(wsClient: WSClient, config: ObjectStoreClientConfig)(implicit m: Materializer, ec: ExecutionContext) extends ObjectStoreClient[Future, Request, Response, ResBody]

Client which returns responses within Future.

Client which returns responses within Future.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
@Singleton
class PlayObjectStoreClientEither(wsClient: WSClient, config: ObjectStoreClientConfig)(implicit m: Materializer, ec: ExecutionContext) extends ObjectStoreClient[FutureEither, Request, Response, ResBody]

Client which returns responses within Future[Either[PlayObjectStoreException, *]].

Client which returns responses within Future[Either[PlayObjectStoreException, *]].

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Implicits

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class PlayWSHttpClient[F[_]](wsClient: WSClient)(implicit ec: ExecutionContext, F: PlayMonad[F]) extends HttpClient[F, Request, Response]

Attributes

Supertypes
trait HttpClient[F, Request, Response]
class Object
trait Matchable
class Any

Types

type FutureEither[A] = Future[Either[Exception, A]]
type Request = HttpBody[WSRequest => WSRequest]
type ResBody = Source[ByteString, NotUsed]
type Response = WSResponse