CachedStaticHtmlPartialRetrieverImpl

uk.gov.hmrc.play.partials.CachedStaticHtmlPartialRetrieverImpl
@Singleton
class CachedStaticHtmlPartialRetrieverImpl(val httpClientV2: HttpClientV2, config: Config) extends CachedStaticHtmlPartialRetriever

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def getPartial(url: String, templateParameters: Map[String, String])(implicit ec: ExecutionContext, request: RequestHeader): Future[HtmlPartial]

Attributes

Inherited from:
PartialRetriever
def getPartialContentAsync(url: String, templateParameters: Map[String, String], errorMessage: Html)(implicit ec: ExecutionContext, request: RequestHeader): Future[Html]

Attributes

Inherited from:
PartialRetriever
override protected def loadPartial(url: String)(implicit ec: ExecutionContext, request: RequestHeader): Future[HtmlPartial]
def processTemplate(template: Html, parameters: Map[String, String])(implicit request: RequestHeader): Html

Attributes

Inherited from:
TemplateProcessor

Deprecated and Inherited methods

def getPartialContent(url: String, templateParameters: Map[String, String], errorMessage: Html)(implicit ec: ExecutionContext, request: RequestHeader): Html

Attributes

Deprecated
[Since version 8.0.0]
Inherited from:
PartialRetriever
def partialRetrievalTimeout: Duration

Attributes

Deprecated
[Since version 8.0.0]
Inherited from:
PartialRetriever

Concrete fields

override val expireAfter: Duration
override val httpClientV2: HttpClientV2
override val maximumEntries: Int
override val refreshAfter: Duration

Inherited fields

lazy protected val cacheTicker: Ticker

Attributes

Inherited from:
CachedStaticHtmlPartialRetriever

Attributes

Inherited from:
PartialRetriever