public class GrpcClientOptions extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_MESSAGE_SIZE
The default maximum message size in bytes accepted from a server =
256KB |
Constructor and Description |
---|
GrpcClientOptions() |
GrpcClientOptions(GrpcClientOptions options) |
GrpcClientOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
long |
getMaxMessageSize() |
HttpClientOptions |
getTransportOptions() |
GrpcClientOptions |
setMaxMessageSize(long maxMessageSize)
Set the maximum message size in bytes accepted from a server, the maximum value is
0xFFFFFFFF |
GrpcClientOptions |
setTransportOptions(HttpClientOptions transportOptions)
Set the HTTP transport options.
|
public static final long DEFAULT_MAX_MESSAGE_SIZE
256KB
public GrpcClientOptions()
public GrpcClientOptions(GrpcClientOptions options)
public GrpcClientOptions(JsonObject json)
public long getMaxMessageSize()
public GrpcClientOptions setMaxMessageSize(long maxMessageSize)
0xFFFFFFFF
maxMessageSize
- the sizepublic HttpClientOptions getTransportOptions()
public GrpcClientOptions setTransportOptions(HttpClientOptions transportOptions)
transportOptions
- the transpot optionsCopyright © 2024 Eclipse. All rights reserved.