Class HttpClientConfig.BuilderBase.HttpClientConfigImpl

java.lang.Object
io.helidon.webclient.api.HttpConfigBase.BuilderBase.HttpConfigBaseImpl
io.helidon.webclient.api.HttpClientConfig.BuilderBase.HttpClientConfigImpl
All Implemented Interfaces:
Prototype.Api, HttpClientConfig, HttpConfigBase
Direct Known Subclasses:
GrpcClientConfig.BuilderBase.GrpcClientConfigImpl, Http1ClientConfig.BuilderBase.Http1ClientConfigImpl, Http2ClientConfig.BuilderBase.Http2ClientConfigImpl, WebClientConfig.BuilderBase.WebClientConfigImpl, WsClientConfig.BuilderBase.WsClientConfigImpl
Enclosing class:
HttpClientConfig.BuilderBase<BUILDER extends HttpClientConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends HttpClientConfig>

protected static class HttpClientConfig.BuilderBase.HttpClientConfigImpl extends HttpConfigBase.BuilderBase.HttpConfigBaseImpl implements HttpClientConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • HttpClientConfigImpl

      protected HttpClientConfigImpl(HttpClientConfig.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • baseUri

      public Optional<ClientUri> baseUri()
    • baseQuery

      public Optional<UriQuery> baseQuery()
    • baseFragment

      public Optional<UriFragment> baseFragment()
    • socketOptions

      public SocketOptions socketOptions()
    • dnsResolver

      public DnsResolver dnsResolver()
    • dnsAddressLookup

      public DnsAddressLookup dnsAddressLookup()
    • defaultHeadersMap

      public Map<String,String> defaultHeadersMap()
    • headers

      public Set<Header> headers()
    • mediaTypeParserMode

      public ParserMode mediaTypeParserMode()
    • contentEncoding

      public ContentEncodingContext contentEncoding()
    • mediaContext

      public MediaContext mediaContext()
    • mediaSupports

      public List<MediaSupport> mediaSupports()
    • services

      public List<WebClientService> services()
    • relativeUris

      public boolean relativeUris()
    • executor

      public ExecutorService executor()
    • sendExpectContinue

      public boolean sendExpectContinue()
    • connectionCacheSize

      public int connectionCacheSize()
    • cookieManager

      public Optional<WebClientCookieManager> cookieManager()
    • readContinueTimeout

      public Duration readContinueTimeout()
    • shareConnectionCache

      public boolean shareConnectionCache()
    • maxInMemoryEntity

      public int maxInMemoryEntity()
    • toString

      public String toString()
      Overrides:
      toString in class HttpConfigBase.BuilderBase.HttpConfigBaseImpl
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class HttpConfigBase.BuilderBase.HttpConfigBaseImpl
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class HttpConfigBase.BuilderBase.HttpConfigBaseImpl
    • defaultRequestHeaders

      default ClientRequestHeaders 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
    • followRedirects

      boolean followRedirects()
      Whether to follow redirects.
      Returns:
      whether to follow redirects
    • maxRedirects

      int maxRedirects()
      Max number of followed redirects. This is ignored if followRedirects() option is false.
      Returns:
      max number of followed redirects
    • tls

      Tls tls()
      TLS configuration for any TLS request from this client. TLS can also be configured per request. TLS is used when the protocol is set to https.
      Returns:
      TLS configuration to use
    • readTimeout

      Optional<Duration> readTimeout()
      Read timeout.
      Returns:
      read timeout
      See Also:
      • SocketOptionsBlueprint.readTimeout()
    • connectTimeout

      Optional<Duration> connectTimeout()
      Connect timeout.
      Returns:
      connect timeout
      See Also:
      • SocketOptionsBlueprint.connectTimeout()
    • keepAlive

      boolean keepAlive()
      Determines if connection keep alive is enabled (NOT socket keep alive, but HTTP connection keep alive, to re-use the same connection for multiple requests).
      Returns:
      keep alive for this connection
      See Also:
      • SocketOptionsBlueprint.socketKeepAlive()
    • proxy

      Proxy proxy()
      Proxy configuration to be used for requests.
      Returns:
      proxy to use, defaults to Proxy.noProxy()
    • properties

      Map<String,String> properties()
      Properties configured for this client. These properties are propagated through client request, to be used by services (and possibly for other purposes).
      Returns:
      map of client properties