Class LoomClient

java.lang.Object
io.helidon.nima.webclient.LoomClient
All Implemented Interfaces:
WebClient

public class LoomClient extends Object implements WebClient
Base class for HTTP implementations of WebClient.
  • Constructor Details

    • LoomClient

      protected LoomClient(WebClient.Builder<?,?> builder)
      Construct this instance from a subclass of builder.
      Parameters:
      builder - builder the subclass is built from
  • Method Details

    • uri

      public URI uri()
      Base URI of this client.
      Returns:
      URI to use
    • executor

      public ExecutorService executor()
      Executor services, uses virtual threads.
      Returns:
      executor service
    • tls

      public Tls tls()
      TLS configuration for this client.
      Returns:
      TLS configuration
    • socketOptions

      public SocketOptions socketOptions()
      Socket options for this client.
      Returns:
      socket options
    • dnsResolver

      public DnsResolver dnsResolver()
      DNS resolver instance to be used for this client.
      Returns:
      dns resolver instance
    • dnsAddressLookup

      public DnsAddressLookup dnsAddressLookup()
      Returns:
      DNS address lookup instance type