Builder
Defines the notion of a *Render Context* for server-side pages in Gust. This protocol message is filled out with data
as configured by the developer (from `application.yml` and the active controller, as applicable) and provided as an
injected value to all server-side render operations.
When preparing context in Gust, adding a static script or stylesheet is done through `Context`. Setting page metadata
like the title, keywords, and manifest - also all done through `Context`. This of course has the added benefit of
being completely serializable, repeatable, and so on (i.e. all the benefits Protobuf brings).
Major context modules include:
- *Metadata*: Page-level metadata.
- *OpenGraph*: Properties for OG tags.
- *Twitter*: Properties for Twitter cards.
- *AppManifest*: Information to link or derive a web application manifest.
- *Styles*: Stylesheets and inline head-injected styles ("lifted styles").
- *Scripts*: Scripts to include, and inline head-injected logic ("lifted JS").
Content copied to clipboard
elide.page.ContextProperties
Functions
Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Specifies the selected CDN prefix to use.
Content copied to clipboard
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;Link copied to clipboard
                  Specifies that the `nosniff` flag should be included in a `X-Content-Type-Options` header.
Content copied to clipboard
bool content_type_nosniff = 16;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  `ETag` information to enclose with this page, when rendered.
Content copied to clipboard
.elide.page.Context.DynamicETag etag = 6;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Link copied to clipboard
                  Fonts to include/load on the page.
Content copied to clipboard
.elide.page.Context.Fonts fonts = 3;Link copied to clipboard
                  Specifies options when a page is referenced as a frame.
Content copied to clipboard
.elide.page.Context.FramingPolicy framing_policy = 15;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Information provided by client-indicated hints.
Content copied to clipboard
.elide.page.Context.ClientHints hints = 12;Link copied to clipboard
                  Language to send in the `Content-Language` header.
Content copied to clipboard
string language = 11;Link copied to clipboard
                  Application manifest for a given page or web app.
Content copied to clipboard
.elide.page.Context.AppManifest manifest = 5;Link copied to clipboard
                  Metadata definitions for this web page render context.
Content copied to clipboard
.elide.page.Context.Metadata meta = 1;Link copied to clipboard
                  Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Specifies the `Referrer-Policy` to apply to this HTTP cycle, as applicable.
Content copied to clipboard
.elide.page.Context.ReferrerPolicy referrer_policy = 21;Link copied to clipboard
                  Scripts to include on the page or lift into the head.
Content copied to clipboard
.elide.page.Context.Scripts scripts = 4;Link copied to clipboard
                  CSS definitions and lifted code for the page head.
Content copied to clipboard
.elide.page.Context.Styles styles = 2;Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Old-style Cross-Site Scripting vulnerability protection policy.
Content copied to clipboard
string xss_protection = 20;Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Specifies the selected CDN prefix to use.
Content copied to clipboard
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;Link copied to clipboard
                  Specifies the selected CDN prefix to use.
Content copied to clipboard
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;Link copied to clipboard
                  Specifies the selected CDN prefix to use.
Content copied to clipboard
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;Link copied to clipboard
                  Specifies that the `nosniff` flag should be included in a `X-Content-Type-Options` header.
Content copied to clipboard
bool content_type_nosniff = 16;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  `ETag` information to enclose with this page, when rendered.
Content copied to clipboard
.elide.page.Context.DynamicETag etag = 6;Link copied to clipboard
                  `ETag` information to enclose with this page, when rendered.
Content copied to clipboard
.elide.page.Context.DynamicETag etag = 6;Link copied to clipboard
                  `ETag` information to enclose with this page, when rendered.
Content copied to clipboard
.elide.page.Context.DynamicETag etag = 6;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Link copied to clipboard
                  Fonts to include/load on the page.
Content copied to clipboard
.elide.page.Context.Fonts fonts = 3;Link copied to clipboard
                  Fonts to include/load on the page.
Content copied to clipboard
.elide.page.Context.Fonts fonts = 3;Link copied to clipboard
                  Fonts to include/load on the page.
Content copied to clipboard
.elide.page.Context.Fonts fonts = 3;Link copied to clipboard
                  Specifies options when a page is referenced as a frame.
Content copied to clipboard
.elide.page.Context.FramingPolicy framing_policy = 15;Link copied to clipboard
                  Specifies options when a page is referenced as a frame.
Content copied to clipboard
.elide.page.Context.FramingPolicy framing_policy = 15;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Information provided by client-indicated hints.
Content copied to clipboard
.elide.page.Context.ClientHints hints = 12;Link copied to clipboard
                  Information provided by client-indicated hints.
Content copied to clipboard
.elide.page.Context.ClientHints hints = 12;Link copied to clipboard
                  Information provided by client-indicated hints.
Content copied to clipboard
.elide.page.Context.ClientHints hints = 12;Link copied to clipboard
                  Link copied to clipboard
                  Language to send in the `Content-Language` header.
Content copied to clipboard
string language = 11;Link copied to clipboard
                  Language to send in the `Content-Language` header.
Content copied to clipboard
string language = 11;Link copied to clipboard
                  Application manifest for a given page or web app.
Content copied to clipboard
.elide.page.Context.AppManifest manifest = 5;Link copied to clipboard
                  Application manifest for a given page or web app.
Content copied to clipboard
.elide.page.Context.AppManifest manifest = 5;Link copied to clipboard
                  Application manifest for a given page or web app.
Content copied to clipboard
.elide.page.Context.AppManifest manifest = 5;Link copied to clipboard
                  Metadata definitions for this web page render context.
Content copied to clipboard
.elide.page.Context.Metadata meta = 1;Link copied to clipboard
                  Metadata definitions for this web page render context.
Content copied to clipboard
.elide.page.Context.Metadata meta = 1;Link copied to clipboard
                  Metadata definitions for this web page render context.
Content copied to clipboard
.elide.page.Context.Metadata meta = 1;Link copied to clipboard
                  Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Specifies the `Referrer-Policy` to apply to this HTTP cycle, as applicable.
Content copied to clipboard
.elide.page.Context.ReferrerPolicy referrer_policy = 21;Link copied to clipboard
                  Specifies the `Referrer-Policy` to apply to this HTTP cycle, as applicable.
Content copied to clipboard
.elide.page.Context.ReferrerPolicy referrer_policy = 21;Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Scripts to include on the page or lift into the head.
Content copied to clipboard
.elide.page.Context.Scripts scripts = 4;Link copied to clipboard
                  Scripts to include on the page or lift into the head.
Content copied to clipboard
.elide.page.Context.Scripts scripts = 4;Link copied to clipboard
                  Scripts to include on the page or lift into the head.
Content copied to clipboard
.elide.page.Context.Scripts scripts = 4;Link copied to clipboard
                  CSS definitions and lifted code for the page head.
Content copied to clipboard
.elide.page.Context.Styles styles = 2;Link copied to clipboard
                  CSS definitions and lifted code for the page head.
Content copied to clipboard
.elide.page.Context.Styles styles = 2;Link copied to clipboard
                  CSS definitions and lifted code for the page head.
Content copied to clipboard
.elide.page.Context.Styles styles = 2;Link copied to clipboard
                  Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Old-style Cross-Site Scripting vulnerability protection policy.
Content copied to clipboard
string xss_protection = 20;Link copied to clipboard
                  Old-style Cross-Site Scripting vulnerability protection policy.
Content copied to clipboard
string xss_protection = 20;Link copied to clipboard
                  Specifies the selected CDN prefix to use.
Content copied to clipboard
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;Link copied to clipboard
                  Application manifest for a given page or web app.
Content copied to clipboard
.elide.page.Context.AppManifest manifest = 5;Link copied to clipboard
                  Scripts to include on the page or lift into the head.
Content copied to clipboard
.elide.page.Context.Scripts scripts = 4;Link copied to clipboard
                  Link copied to clipboard
                  Specifies the selected CDN prefix to use.
Content copied to clipboard
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;Link copied to clipboard
                  Link copied to clipboard
                  `ETag` information to enclose with this page, when rendered.
Content copied to clipboard
.elide.page.Context.DynamicETag etag = 6;Link copied to clipboard
                  Fonts to include/load on the page.
Content copied to clipboard
.elide.page.Context.Fonts fonts = 3;Link copied to clipboard
                  open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Context.Builder
Link copied to clipboard
                  Information provided by client-indicated hints.
Content copied to clipboard
.elide.page.Context.ClientHints hints = 12;Link copied to clipboard
                  Application manifest for a given page or web app.
Content copied to clipboard
.elide.page.Context.AppManifest manifest = 5;Link copied to clipboard
                  Metadata definitions for this web page render context.
Content copied to clipboard
.elide.page.Context.Metadata meta = 1;Link copied to clipboard
                  Scripts to include on the page or lift into the head.
Content copied to clipboard
.elide.page.Context.Scripts scripts = 4;Link copied to clipboard
                  CSS definitions and lifted code for the page head.
Content copied to clipboard
.elide.page.Context.Styles styles = 2;Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Specifies the selected CDN prefix to use.
Content copied to clipboard
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;Link copied to clipboard
                  Specifies that the `nosniff` flag should be included in a `X-Content-Type-Options` header.
Content copied to clipboard
bool content_type_nosniff = 16;Link copied to clipboard
                  Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;Link copied to clipboard
                  Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;Link copied to clipboard
                  `ETag` information to enclose with this page, when rendered.
Content copied to clipboard
.elide.page.Context.DynamicETag etag = 6;Link copied to clipboard
                  Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;Link copied to clipboard
                  Fonts to include/load on the page.
Content copied to clipboard
.elide.page.Context.Fonts fonts = 3;Link copied to clipboard
                  Specifies options when a page is referenced as a frame.
Content copied to clipboard
.elide.page.Context.FramingPolicy framing_policy = 15;Link copied to clipboard
                  Specifies options when a page is referenced as a frame.
Content copied to clipboard
.elide.page.Context.FramingPolicy framing_policy = 15;Link copied to clipboard
                  Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;Link copied to clipboard
                  Information provided by client-indicated hints.
Content copied to clipboard
.elide.page.Context.ClientHints hints = 12;Link copied to clipboard
                  Language to send in the `Content-Language` header.
Content copied to clipboard
string language = 11;Link copied to clipboard
                  Language to send in the `Content-Language` header.
Content copied to clipboard
string language = 11;Link copied to clipboard
                  Application manifest for a given page or web app.
Content copied to clipboard
.elide.page.Context.AppManifest manifest = 5;Link copied to clipboard
                  Metadata definitions for this web page render context.
Content copied to clipboard
.elide.page.Context.Metadata meta = 1;Link copied to clipboard
                  Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;Link copied to clipboard
                  Specifies the `Referrer-Policy` to apply to this HTTP cycle, as applicable.
Content copied to clipboard
.elide.page.Context.ReferrerPolicy referrer_policy = 21;Link copied to clipboard
                  Specifies the `Referrer-Policy` to apply to this HTTP cycle, as applicable.
Content copied to clipboard
.elide.page.Context.ReferrerPolicy referrer_policy = 21;Link copied to clipboard
                  abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
                  Scripts to include on the page or lift into the head.
Content copied to clipboard
.elide.page.Context.Scripts scripts = 4;Link copied to clipboard
                  CSS definitions and lifted code for the page head.
Content copied to clipboard
.elide.page.Context.Styles styles = 2;Link copied to clipboard
                  Link copied to clipboard
                  Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;Link copied to clipboard
                  Old-style Cross-Site Scripting vulnerability protection policy.
Content copied to clipboard
string xss_protection = 20;Link copied to clipboard
                  Old-style Cross-Site Scripting vulnerability protection policy.
Content copied to clipboard
string xss_protection = 20;