Module io.helidon.webclient.http1
Package io.helidon.webclient.http1
Class Http1ClientConfig.BuilderBase<BUILDER extends Http1ClientConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends Http1ClientConfig>
java.lang.Object
io.helidon.webclient.api.HttpConfigBase.BuilderBase<BUILDER,PROTOTYPE>
io.helidon.webclient.api.HttpClientConfig.BuilderBase<BUILDER,PROTOTYPE>
io.helidon.webclient.http1.Http1ClientConfig.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER
- type of the builder extending this abstract builderPROTOTYPE
- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,
,PROTOTYPE> Prototype.ConfiguredBuilder<BUILDER,
PROTOTYPE>
- Direct Known Subclasses:
Http1ClientConfig.Builder
- Enclosing interface:
Http1ClientConfig
public abstract static class Http1ClientConfig.BuilderBase<BUILDER extends Http1ClientConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends Http1ClientConfig>
extends HttpClientConfig.BuilderBase<BUILDER,PROTOTYPE>
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
Http1Client
.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class io.helidon.webclient.api.HttpClientConfig.BuilderBase
HttpClientConfig.BuilderBase.HttpClientConfigImpl
Nested classes/interfaces inherited from class io.helidon.webclient.api.HttpConfigBase.BuilderBase
HttpConfigBase.BuilderBase.HttpConfigBaseImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(Http1ClientConfig prototype) Update this builder from an existing prototype instance.from
(Http1ClientConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected void
Handles providers and decorators.HTTP/1.1 specific configuration.protocolConfig
(Http1ClientProtocolConfig protocolConfig) HTTP/1.1 specific configuration.HTTP/1.1 specific configuration.protocolConfig
(Supplier<? extends Http1ClientProtocolConfig> supplier) HTTP/1.1 specific configuration.toString()
protected void
Validates required properties.Methods inherited from class io.helidon.webclient.api.HttpClientConfig.BuilderBase
addDefaultHeadersMap, addHeader, addHeader, addHeader, addHeader, addHeader, addHeader, addHeader, addHeaders, addMediaSupport, addMediaSupports, addService, addServices, baseFragment, baseFragment, baseQuery, baseQuery, baseUri, baseUri, baseUri, baseUri, baseUri, clearBaseFragment, clearBaseQuery, clearBaseUri, clearCookieManager, config, config, connectionCacheSize, connectionCacheSize, contentEncoding, contentEncoding, contentEncoding, contentEncoding, contentEncoding, cookieManager, cookieManager, cookieManager, cookieManager, defaultHeadersMap, defaultHeadersMap, dnsAddressLookup, dnsAddressLookup, dnsResolver, dnsResolver, executor, executor, from, from, headers, headers, maxInMemoryEntity, maxInMemoryEntity, mediaContext, mediaContext, mediaContext, mediaContext, mediaContext, mediaSupports, mediaSupports, mediaTypeParserMode, mediaTypeParserMode, readContinueTimeout, readContinueTimeout, relativeUris, relativeUris, sendExpectContinue, sendExpectContinue, services, services, servicesDiscoverServices, shareConnectionCache, shareConnectionCache, socketOptions, socketOptions, socketOptions, socketOptions
Methods inherited from class io.helidon.webclient.api.HttpConfigBase.BuilderBase
addProperties, clearConnectTimeout, clearReadTimeout, connectTimeout, connectTimeout, followRedirects, followRedirects, from, from, keepAlive, keepAlive, maxRedirects, maxRedirects, properties, properties, proxy, proxy, proxy, proxy, putProperty, readTimeout, readTimeout, tls, tls, tls, tls, tls
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
Methods inherited from interface io.helidon.builder.api.Prototype.ConfiguredBuilder
discoverService, discoverServices
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype
- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder
- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
protocolConfig
HTTP/1.1 specific configuration.- Parameters:
protocolConfig
- protocol specific configuration- Returns:
- updated builder instance
- See Also:
-
protocolConfig
HTTP/1.1 specific configuration.- Parameters:
consumer
- consumer of builder for protocol specific configuration- Returns:
- updated builder instance
- See Also:
-
protocolConfig
HTTP/1.1 specific configuration.- Parameters:
supplier
- supplier of protocol specific configuration- Returns:
- updated builder instance
- See Also:
-
protocolConfig
HTTP/1.1 specific configuration.- Returns:
- the protocol config
-
toString
- Overrides:
toString
in classHttpClientConfig.BuilderBase<BUILDER extends Http1ClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http1ClientConfig>
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators.- Overrides:
preBuildPrototype
in classHttpClientConfig.BuilderBase<BUILDER extends Http1ClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http1ClientConfig>
-
validatePrototype
protected void validatePrototype()Validates required properties.- Overrides:
validatePrototype
in classHttpClientConfig.BuilderBase<BUILDER extends Http1ClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http1ClientConfig>
-