Module io.helidon.webclient.http1
Package io.helidon.webclient.http1
Class Http1ClientConfig.BuilderBase.Http1ClientConfigImpl
java.lang.Object
io.helidon.webclient.api.HttpConfigBase.BuilderBase.HttpConfigBaseImpl
io.helidon.webclient.api.HttpClientConfig.BuilderBase.HttpClientConfigImpl
io.helidon.webclient.http1.Http1ClientConfig.BuilderBase.Http1ClientConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<Http1Client>
,HttpClientConfig
,HttpConfigBase
,Http1ClientConfig
,Supplier<Http1Client>
- Enclosing class:
Http1ClientConfig.BuilderBase<BUILDER extends Http1ClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http1ClientConfig>
protected static class Http1ClientConfig.BuilderBase.Http1ClientConfigImpl
extends HttpClientConfig.BuilderBase.HttpClientConfigImpl
implements Http1ClientConfig, Supplier<Http1Client>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.http1.Http1ClientConfig
Http1ClientConfig.Builder, Http1ClientConfig.BuilderBase<BUILDER extends Http1ClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http1ClientConfig> Nested classes/interfaces inherited from interface io.helidon.webclient.api.HttpClientConfig
HttpClientConfig.Builder, HttpClientConfig.BuilderBase<BUILDER extends HttpClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends HttpClientConfig> Nested classes/interfaces inherited from interface io.helidon.webclient.api.HttpConfigBase
HttpConfigBase.Builder, HttpConfigBase.BuilderBase<BUILDER extends HttpConfigBase.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends HttpConfigBase> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Http1ClientConfigImpl
(Http1ClientConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a new instance of the runtime type from this config object.default ClientRequestHeaders
Default headers as a headers object.boolean
get()
int
hashCode()
HTTP/1.1 specific configuration.toString()
Methods inherited from class io.helidon.webclient.api.HttpClientConfig.BuilderBase.HttpClientConfigImpl
baseFragment, baseQuery, baseUri, connectionCacheSize, contentEncoding, cookieManager, defaultHeadersMap, dnsAddressLookup, dnsResolver, executor, headers, maxInMemoryEntity, mediaContext, mediaSupports, mediaTypeParserMode, readContinueTimeout, relativeUris, sendExpectContinue, services, shareConnectionCache, socketOptions, writeBufferSize
Methods inherited from class io.helidon.webclient.api.HttpConfigBase.BuilderBase.HttpConfigBaseImpl
connectTimeout, followRedirects, keepAlive, maxRedirects, properties, proxy, readTimeout, tls
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.webclient.api.HttpClientConfig
baseFragment, baseQuery, baseUri, connectionCacheSize, contentEncoding, cookieManager, defaultHeadersMap, dnsAddressLookup, dnsResolver, executor, headers, maxInMemoryEntity, mediaContext, mediaSupports, mediaTypeParserMode, readContinueTimeout, relativeUris, sendExpectContinue, services, shareConnectionCache, socketOptions, writeBufferSize
Methods inherited from interface io.helidon.webclient.api.HttpConfigBase
connectTimeout, followRedirects, keepAlive, maxRedirects, properties, proxy, readTimeout, tls
-
Constructor Details
-
Http1ClientConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<Http1Client>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<Http1Client>
-
protocolConfig
Description copied from interface:Http1ClientConfig
HTTP/1.1 specific configuration.- Specified by:
protocolConfig
in interfaceHttp1ClientConfig
- Returns:
- protocol specific configuration
-
toString
- Overrides:
toString
in classHttpClientConfig.BuilderBase.HttpClientConfigImpl
-
equals
- Overrides:
equals
in classHttpClientConfig.BuilderBase.HttpClientConfigImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classHttpClientConfig.BuilderBase.HttpClientConfigImpl
-
defaultRequestHeaders
Default headers as a headers object. Creates a new instance for each call, so the returned value can be safely mutated.- Returns:
- default headers
-