CachedStaticHtmlPartialRetriever

uk.gov.hmrc.play.partials.CachedStaticHtmlPartialRetriever

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def expireAfter: Duration
def maximumEntries: Int
def refreshAfter: Duration

Concrete methods

override protected def loadPartial(url: String)(implicit ec: ExecutionContext, request: RequestHeader): Future[HtmlPartial]

Attributes

Definition Classes

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
def processTemplate(template: Html, parameters: Map[String, String])(implicit request: RequestHeader): Html

Attributes

Inherited from:
TemplateProcessor

Inherited and Abstract methods

def httpClientV2: HttpClientV2

Attributes

Inherited from:
PartialRetriever

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

lazy protected val cacheTicker: Ticker

Inherited fields

Attributes

Inherited from:
PartialRetriever