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?

This function is deprecated.

Use getExpectedNoVarySearchHeader instead.

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

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

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

getExpectedNoVarySearchData

Added in 1.17.0
Deprecated in 1.17.0
fun getExpectedNoVarySearchData(): NoVarySearchHeader?

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

getExpectedNoVarySearchHeader

Added in 1.17.0
fun getExpectedNoVarySearchHeader(): NoVarySearchHeader?

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

getVariationsId

Added in 1.17.0
fun getVariationsId(): Int?

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