Class Http2ClientProtocolConfig.Builder
java.lang.Object
io.helidon.http.HttpConfig.BuilderBase<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>
io.helidon.webclient.http2.Http2ClientProtocolConfig.BuilderBase<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>
io.helidon.webclient.http2.Http2ClientProtocolConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>, Builder<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>, ConfigBuilderSupport.ConfiguredBuilder<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>, Supplier<Http2ClientProtocolConfig>
- Enclosing interface:
Http2ClientProtocolConfig
public static class Http2ClientProtocolConfig.Builder
extends Http2ClientProtocolConfig.BuilderBase<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>
implements Builder<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>
Fluent API builder for
Http2ClientProtocolConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class Http2ClientProtocolConfig.BuilderBase
Http2ClientProtocolConfig.BuilderBase.Http2ClientProtocolConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class HttpConfig.BuilderBase
HttpConfig.BuilderBase.HttpConfigImplModifier 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 Http2ClientProtocolConfig.BuilderBase
config, flowControlBlockTimeout, flowControlBlockTimeout, from, from, initialWindowSize, initialWindowSize, maxFrameSize, maxFrameSize, maxHeaderListSize, maxHeaderListSize, name, name, ping, ping, pingTimeout, pingTimeout, preBuildPrototype, priorKnowledge, priorKnowledge, toString, validatePrototypeModifier and TypeMethodDescriptionUpdate builder from configuration (node of this type).Timeout for blocking while waiting for window update when window is depleted.flowControlBlockTimeout(Duration flowControlBlockTimeout) Timeout for blocking while waiting for window update when window is depleted.from(Http2ClientProtocolConfig prototype) Update this builder from an existing prototype instance.from(Http2ClientProtocolConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.intConfigure INITIAL_WINDOW_SIZE setting for new HTTP/2 connections.initialWindowSize(int initialWindowSize) Configure INITIAL_WINDOW_SIZE setting for new HTTP/2 connections.intConfigure initial MAX_FRAME_SIZE setting for new HTTP/2 connections.maxFrameSize(int maxFrameSize) Configure initial MAX_FRAME_SIZE setting for new HTTP/2 connections.longConfigure initial MAX_HEADER_LIST_SIZE setting for new HTTP/2 connections.maxHeaderListSize(long maxHeaderListSize) Configure initial MAX_HEADER_LIST_SIZE setting for new HTTP/2 connections.name()Name of this protocol configuration.Name of this protocol configuration.booleanping()Check healthiness of cached connections with HTTP/2.0 ping frame.ping(boolean ping) Check healthiness of cached connections with HTTP/2.0 ping frame.Timeout for ping probe used for checking healthiness of cached connections.pingTimeout(Duration pingTimeout) Timeout for ping probe used for checking healthiness of cached connections.protected voidHandles providers and decorators.booleanPrior knowledge of HTTP/2 capabilities of the server.priorKnowledge(boolean priorKnowledge) Prior knowledge of HTTP/2 capabilities of the server.toString()protected voidValidates required properties.Methods inherited from class HttpConfig.BuilderBase
config, from, from, log, log, log, log, maxBufferedEntitySize, maxBufferedEntitySize, maxHeadersSize, maxHeadersSize, validateRequestHeaders, validateRequestHeaders, validateResponseHeaders, validateResponseHeadersModifier and TypeMethodDescriptionconfig()Configuration used to configure this instance.from(HttpConfig prototype) Update this builder from an existing prototype instance.from(HttpConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.log()HTTP Log configuration.log(HttpLogConfig log) HTTP Log configuration.log(Consumer<HttpLogConfig.Builder> consumer) HTTP Log configuration.log(Supplier<? extends HttpLogConfig> supplier) HTTP Log configuration.Configure the maximum size allowed for an entity that can be explicitly buffered by the application by callingio.helidon.http.media.ReadableEntity.buffer().maxBufferedEntitySize(Size maxBufferedEntitySize) Configure the maximum size allowed for an entity that can be explicitly buffered by the application by callingio.helidon.http.media.ReadableEntity.buffer().intConfigure the maximum allowed headers size, which must be greater than0.maxHeadersSize(int maxHeadersSize) Configure the maximum allowed headers size, which must be greater than0.booleanWhether to validate request headers.validateRequestHeaders(boolean validateRequestHeaders) Whether to validate request headers.booleanWhether to validate response headers.validateResponseHeaders(boolean validateResponseHeaders) Whether to validate response headers.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault Http2ClientProtocolConfigget()identity()Instance of this builder as the correct type.update(Consumer<Http2ClientProtocolConfig.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<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>- 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<Http2ClientProtocolConfig.Builder, Http2ClientProtocolConfig>- Returns:
- instance of the built type
-