Package org.apache.juneau.marshall.html
Class HtmlDocSerializerSession.Builder<SELF extends HtmlDocSerializerSession.Builder<SELF>>
java.lang.Object
org.apache.juneau.marshall.ContextSession.Builder<SELF>
org.apache.juneau.marshall.MarshallingSession.Builder<SELF>
org.apache.juneau.marshall.MarshallingTraverseSession.Builder<SELF>
org.apache.juneau.marshall.serializer.SerializerSession.Builder<SELF>
org.apache.juneau.marshall.serializer.WriterSerializerSession.Builder<SELF>
org.apache.juneau.marshall.xml.XmlSerializerSession.Builder<SELF>
org.apache.juneau.marshall.html.HtmlSerializerSession.Builder<SELF>
org.apache.juneau.marshall.html.HtmlStrippedDocSerializerSession.Builder<SELF>
org.apache.juneau.marshall.html.HtmlDocSerializerSession.Builder<SELF>
- Direct Known Subclasses:
HtmlDocSerializerSession.DefaultBuilder,HtmlSchemaDocSerializerSession.Builder
- Enclosing class:
- HtmlDocSerializerSession
public abstract static class HtmlDocSerializerSession.Builder<SELF extends HtmlDocSerializerSession.Builder<SELF>>
extends HtmlStrippedDocSerializerSession.Builder<SELF>
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the object.Sets the per-response Content-Security-Policy nonce stamped onto inline<script>/<style>tags emitted during this render.Methods inherited from class org.apache.juneau.marshall.html.HtmlSerializerSession.Builder
addKeyValueTableHeaders, detectLabelParameters, detectLinksInStrings, labelParameter, property, uriAnchorTextMethods inherited from class org.apache.juneau.marshall.xml.XmlSerializerSession.Builder
addNamespaceUrisToRoot, autoDetectNamespaces, defaultNamespace, enableNamespaces, textNodeDelimiterMethods inherited from class org.apache.juneau.marshall.serializer.WriterSerializerSession.Builder
maxIndent, quoteChar, streamCharset, useWhitespaceMethods inherited from class org.apache.juneau.marshall.serializer.SerializerSession.Builder
addBeanTypes, addRootType, javaMethod, keepNullProperties, nonDefault, resolver, schema, schemaDefault, sortCollections, sortMaps, trimEmptyCollections, trimEmptyMaps, trimStrings, uriContextMethods inherited from class org.apache.juneau.marshall.MarshallingTraverseSession.Builder
initialDepthMethods inherited from class org.apache.juneau.marshall.MarshallingSession.Builder
activeView, locale, mediaType, mediaTypeDefault, timeZone, timeZoneDefaultMethods inherited from class org.apache.juneau.marshall.ContextSession.Builder
apply, cvt, debug, properties, self, unmodifiable
-
Constructor Details
-
Builder
Constructor- Parameters:
ctx- The context creating this session.
-
-
Method Details
-
nonce
Sets the per-response Content-Security-Policy nonce stamped onto inline<script>/<style>tags emitted during this render.This is a per-render (session-scoped) value — it intentionally does NOT participate in the serializer cache key, since a per-request nonce would otherwise force a cache miss on every request.
- Parameters:
value- The nonce token. May benull to disable nonce stamping.- Returns:
- This object.
-
build
Description copied from class:MarshallingSession.BuilderBuild the object.- Overrides:
buildin classHtmlStrippedDocSerializerSession.Builder<SELF extends HtmlDocSerializerSession.Builder<SELF>>- Returns:
- The built object.
-