Package io.deephaven.client.impl
Class ClientConfig
java.lang.Object
io.deephaven.client.impl.ClientConfig
The client configuration encapsulates the configuration to created a
ManagedChannel
.-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientConfig.Builder
builder()
The extra headers.int
The maximum inbound message size.The overridden authority.ssl()
The SSL configuration.abstract DeephavenTarget
target()
The target.The user-agent.abstract ClientConfig
Returns or creates a client config withssl()
asssl
.abstract ClientConfig
withUserAgent
(String userAgent) Returns or creates a client config withuserAgent()
asuserAgent
.
-
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
-
target
The target. -
ssl
The SSL configuration. Only relevant iftarget()
is secure. -
userAgent
The user-agent.- See Also:
-
overrideAuthority
The overridden authority. -
extraHeaders
The extra headers. -
maxInboundMessageSize
@Default public int maxInboundMessageSize()The maximum inbound message size. Defaults to 100MiB. -
withSsl
Returns or creates a client config withssl()
asssl
. -
withUserAgent
Returns or creates a client config withuserAgent()
asuserAgent
.
-