Class ContentEncodingContextConfig.Builder
java.lang.Object
io.helidon.http.encoding.ContentEncodingContextConfig.BuilderBase<ContentEncodingContextConfig.Builder, ContentEncodingContextConfig>
io.helidon.http.encoding.ContentEncodingContextConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ContentEncodingContextConfig.Builder, ContentEncodingContextConfig>, Builder<ContentEncodingContextConfig.Builder, ContentEncodingContext>, ConfigBuilderSupport.ConfiguredBuilder<ContentEncodingContextConfig.Builder, ContentEncodingContextConfig>, Supplier<ContentEncodingContext>
- Enclosing interface:
ContentEncodingContextConfig
public static class ContentEncodingContextConfig.Builder
extends ContentEncodingContextConfig.BuilderBase<ContentEncodingContextConfig.Builder, ContentEncodingContextConfig>
implements Builder<ContentEncodingContextConfig.Builder, ContentEncodingContext>
Fluent API builder for
ContentEncodingContext.-
Nested Class Summary
Nested classes/interfaces inherited from class ContentEncodingContextConfig.BuilderBase
ContentEncodingContextConfig.BuilderBase.ContentEncodingContextConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class ContentEncodingContextConfig.BuilderBase
addContentEncoding, addContentEncodings, clearContentEncodings, config, config, contentEncodings, contentEncodings, contentEncodingsDiscoverServices, contentEncodingsDiscoverServices, from, from, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionaddContentEncoding(ContentEncoding contentEncoding) List of content encodings that should be used.addContentEncodings(List<? extends ContentEncoding> contentEncodings) List of content encodings that should be used.Clear all contentEncodings.config()Configuration used to configure this instance.Update builder from configuration (node of this type).List of content encodings that should be used.contentEncodings(List<? extends ContentEncoding> contentEncodings) List of content encodings that should be used.booleanService discovery flag forContentEncodingContextConfig.BuilderBase.contentEncodings().contentEncodingsDiscoverServices(boolean contentEncodingsDiscoverServices) Service discovery flag forContentEncodingContextConfig.BuilderBase.contentEncodings().from(ContentEncodingContextConfig prototype) Update this builder from an existing prototype instance.from(ContentEncodingContextConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault ContentEncodingContextget()identity()Instance of this builder as the correct type.update(Consumer<ContentEncodingContextConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
self
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<ContentEncodingContextConfig.Builder, ContentEncodingContextConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<ContentEncodingContextConfig.Builder, ContentEncodingContext>- Returns:
- instance of the built type
-