Class ClientConfig

java.lang.Object
io.deephaven.client.impl.ClientConfig

@Immutable public abstract class ClientConfig extends Object
The client configuration encapsulates the configuration to created a ManagedChannel.
  • Field Details

    • DEFAULT_MAX_INBOUND_MESSAGE_SIZE

      public static final int DEFAULT_MAX_INBOUND_MESSAGE_SIZE
      See Also:
  • Constructor Details

    • ClientConfig

      public ClientConfig()
  • Method Details

    • builder

      public static ClientConfig.Builder builder()
    • target

      public abstract DeephavenTarget target()
      The target.
    • ssl

      public abstract Optional<SSLConfig> ssl()
      The SSL configuration. Only relevant if target() is secure.
    • userAgent

      public abstract Optional<String> userAgent()
      The user agent.
    • overrideAuthority

      public abstract Optional<String> overrideAuthority()
      The overridden authority.
    • extraHeaders

      public abstract Map<String,String> extraHeaders()
      The extra headers.
    • maxInboundMessageSize

      @Default public int maxInboundMessageSize()
      The maximum inbound message size. Defaults to 100MiB.
    • withSsl

      public abstract ClientConfig withSsl(SSLConfig ssl)
      Returns or creates a client config with ssl() as ssl.