Class JsonRpcClientConfig.BuilderBase.JsonRpcClientConfigImpl
java.lang.Object
io.helidon.webclient.api.HttpConfigBase.BuilderBase.HttpConfigBaseImpl
io.helidon.webclient.api.HttpClientConfig.BuilderBase.HttpClientConfigImpl
io.helidon.webclient.jsonrpc.JsonRpcClientConfig.BuilderBase.JsonRpcClientConfigImpl
- All Implemented Interfaces:
Prototype.Api, Prototype.Factory<JsonRpcClient>, HttpClientConfig, HttpConfigBase, JsonRpcClientConfig, Supplier<JsonRpcClient>
- Enclosing class:
JsonRpcClientConfig.BuilderBase<BUILDER extends JsonRpcClientConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends JsonRpcClientConfig>
protected static class JsonRpcClientConfig.BuilderBase.JsonRpcClientConfigImpl
extends HttpClientConfig.BuilderBase.HttpClientConfigImpl
implements JsonRpcClientConfig, Supplier<JsonRpcClient>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface HttpClientConfig
HttpClientConfig.Builder, HttpClientConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forHttpClientConfig.static classHttpClientConfig.BuilderBase<BUILDER extends HttpClientConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends HttpClientConfig>Fluent API builder base forHttpClientConfig.Nested classes/interfaces inherited from interface HttpConfigBase
HttpConfigBase.Builder, HttpConfigBase.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forHttpConfigBase.static classHttpConfigBase.BuilderBase<BUILDER extends HttpConfigBase.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends HttpConfigBase>Fluent API builder base forHttpConfigBase.Nested classes/interfaces inherited from interface JsonRpcClientConfig
JsonRpcClientConfig.Builder, JsonRpcClientConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forJsonRpcClient.static classJsonRpcClientConfig.BuilderBase<BUILDER extends JsonRpcClientConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends JsonRpcClientConfig>Fluent API builder base forJsonRpcClientConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsonRpcClientConfigImpl(JsonRpcClientConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class HttpClientConfig.BuilderBase.HttpClientConfigImpl
altSvc, baseAddress, baseFragment, baseQuery, baseUri, connectionCacheSize, connectionListener, contentEncoding, cookieManager, defaultHeadersMap, dnsAddressLookup, dnsResolver, executor, filterRedirectHeaders, followCrossOriginEntityRedirects, headers, maxInMemoryEntity, mediaContext, mediaSupports, mediaTypeParserMode, readContinueTimeout, redirectSensitiveHeaders, relativeUris, sendExpectContinue, services, shareConnectionCache, sni, socketOptions, writeBufferSizeModifier and TypeMethodDescriptionaltSvc()Client policy for accepting and using HTTPAlt-Svcresponse advertisements.Base address used by the client in all requests.Base fragment used by the client in all requests (unless overwritten on per-request basis).Base query used by the client in all requests.baseUri()Base uri used by the client in all requests.intMaximum number of reusable physical connections each HTTP protocol retains for a single connection target.Socket lifecycle callbacks.Configure the listener specificContentEncodingContext.WebClient cookie manager.Default headers to be used in every request from configuration.DNS address lookup preferences to be used by this client.DNS resolver to be used by this client.executor()Client executor service.booleanWhether headers sensitive to cross-origin redirects should be filtered before the redirected request is sent.booleanWhether redirects that preserve request method and entity may be followed across origins.headers()Default headers to be used in every request.intIf the entity is expected to be smaller that this number of bytes, it would be buffered in memory to optimize performance.Configure the listener specificMediaContext.Media supports (manually added).Configure media type parsing mode for HTTPContent-Typeheader.Socket 100-Continue read timeout.Request header names to strip on cross-origin redirects.booleanCan be set totrueto force the use of relative URIs in all requests, regardless of the presence or absence of proxies or no-proxy lists.booleanWhether Expect-100-Continue header is sent to verify server availability before sending an entity.services()WebClient services.booleanWhether to use protocol-specific JVM-wide connection caches shared by compatible WebClient instances.sni()Client-side TLS SNI configuration.Socket options for connections opened by this client.intBuffer size used when writing data to the underlying socket on a client TCP connection.Methods inherited from class HttpConfigBase.BuilderBase.HttpConfigBaseImpl
connectTimeout, followRedirects, keepAlive, maxRedirects, properties, proxy, readTimeout, tlsModifier and TypeMethodDescriptionConnect timeout.booleanWhether to follow redirects.booleanDetermines if connection keep alive is enabled (NOT socket keep alive, but HTTP connection keep alive, to re-use the same connection for multiple requests).intMax number of followed redirects.Properties configured for this client.proxy()Proxy configuration to be used for requests.Read timeout.tls()TLS configuration for any TLS request from this client.Methods inherited from interface HttpClientConfig
defaultRequestHeadersModifier and TypeMethodDescriptiondefault ClientRequestHeadersDefault headers as a headers object.
-
Constructor Details
-
JsonRpcClientConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
build
Create a new runtime instance from this prototype.- Specified by:
buildin interfacePrototype.Factory<JsonRpcClient>- Returns:
- new configured runtime instance
-
get
- Specified by:
getin interfaceSupplier<JsonRpcClient>
-
protocolConfig
Description copied from interface:JsonRpcClientConfigJSON-RPC specific configuration.- Specified by:
protocolConfigin interfaceJsonRpcClientConfig- Returns:
- protocol specific configuration
-
toString
- Overrides:
toStringin classHttpClientConfig.BuilderBase.HttpClientConfigImpl
-
equals
- Overrides:
equalsin classHttpClientConfig.BuilderBase.HttpClientConfigImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classHttpClientConfig.BuilderBase.HttpClientConfigImpl
-