Module io.helidon.webclient.http2
Package io.helidon.webclient.http2
Class Http2ClientConfig.BuilderBase.Http2ClientConfigImpl
java.lang.Object
io.helidon.webclient.api.HttpConfigBase.BuilderBase.HttpConfigBaseImpl
io.helidon.webclient.api.HttpClientConfig.BuilderBase.HttpClientConfigImpl
io.helidon.webclient.http2.Http2ClientConfig.BuilderBase.Http2ClientConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<Http2Client>
,HttpClientConfig
,HttpConfigBase
,Http2ClientConfig
,Supplier<Http2Client>
- Enclosing class:
Http2ClientConfig.BuilderBase<BUILDER extends Http2ClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http2ClientConfig>
protected static class Http2ClientConfig.BuilderBase.Http2ClientConfigImpl
extends HttpClientConfig.BuilderBase.HttpClientConfigImpl
implements Http2ClientConfig, Supplier<Http2Client>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.http2.Http2ClientConfig
Http2ClientConfig.Builder, Http2ClientConfig.BuilderBase<BUILDER extends Http2ClientConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Http2ClientConfig> 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
Http2ClientConfigImpl
(Http2ClientConfig.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/2 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
-
Http2ClientConfigImpl
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<Http2Client>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<Http2Client>
-
protocolConfig
Description copied from interface:Http2ClientConfig
HTTP/2 specific configuration.- Specified by:
protocolConfig
in interfaceHttp2ClientConfig
- 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
-