http-caching-client-play-30
http-caching-client-play-30
API
uk.gov.hmrc.http.cache.client
CacheMap
CacheMap
CachingException
CachingVerbs
CryptoCacheMap
DefaultCachingVerbs
HttpCaching
KeyStoreEntryValidationException
NoSessionException
SessionCache
ShortLivedCache
ShortLivedHttpCaching
http-caching-client-play-30
/
uk.gov.hmrc.http.cache.client
/
ShortLivedCache
ShortLivedCache
uk.gov.hmrc.http.cache.client.ShortLivedCache
trait
ShortLivedCache
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Members list
Clear all
Value members
Abstract methods
def
shortLiveCache
:
ShortLivedHttpCaching
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
In this article
Attributes
Members list
Value members
Abstract methods
Concrete methods
Implicits
Implicits