PrerenderParameters


@Profile.ExperimentalUrlPrefetch
class PrerenderParameters


Parameters for customizing the prerender. Use the Builder to construct.

Summary

Nested types

A builder class to use to construct the PrerenderParameters.

Public functions

(Mutable)Map<String!, String!>

Returns the map of additional HTTP headers to be sent with the prerender request.

NoVarySearchHeader?

Returns the expected No-Vary-Search header data used to match subsequent navigations to this prerender.

Int?

Returns the variations ID associated with this prerender request, if any.

Public functions

getAdditionalHeaders

fun getAdditionalHeaders(): (Mutable)Map<String!, String!>

Returns the map of additional HTTP headers to be sent with the prerender request.

getExpectedNoVarySearchData

fun getExpectedNoVarySearchData(): NoVarySearchHeader?

Returns the expected No-Vary-Search header data used to match subsequent navigations to this prerender.

getVariationsId

fun getVariationsId(): Int?

Returns the variations ID associated with this prerender request, if any.