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
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe compression types this client accepts, which it lists in itsgrpc-accept-encodingheader, and so allows the server to compress responses with.static ClientConfig.Builderbuilder()The extra headers.intThe maximum inbound message size.The overridden authority.The compression type this client compresses itsDoPutuploads with, including the rows it adds to input tables: any of thesupportedtypes.ssl()The SSL configuration.abstract DeephavenTargettarget()The target.The user-agent.abstract ClientConfigReturns or creates a client config withssl()asssl.abstract ClientConfigwithUserAgent(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. -
acceptCompression
The compression types this client accepts, which it lists in itsgrpc-accept-encodingheader, and so allows the server to compress responses with. Any of thesupportedtypes; defaults to all of them. The server only compresses tables that allow it, and picks the type from the table's own list. An empty set requests uncompressed responses. -
requestCompression
The compression type this client compresses itsDoPutuploads with, including the rows it adds to input tables: any of thesupportedtypes. Unset by default, so uploads are sent uncompressed. The server must be able to decode the type, or it fails the upload withUNIMPLEMENTED; every Deephaven server can decodegzip. Other requests are small, and are never compressed. -
withSsl
Returns or creates a client config withssl()asssl. -
withUserAgent
Returns or creates a client config withuserAgent()asuserAgent.
-