ShortLivedCache

uk.gov.hmrc.http.cache.client.ShortLivedCache

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Concrete methods

def cache[A](cacheId: String, formId: String, body: A)(implicit hc: HeaderCarrier, wts: Writes[A], ec: ExecutionContext): Future[CacheMap]
def fetch(cacheId: String)(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[Option[CacheMap]]
def fetchAndGetEntry[A](cacheId: String, key: String)(implicit hc: HeaderCarrier, rds: Reads[A], ec: ExecutionContext): Future[Option[A]]
def remove(cacheId: String)(implicit hc: HeaderCarrier, ec: ExecutionContext): Future[Unit]

Implicits

Implicits

implicit val crypto: Decrypter & Encrypter