public class GrpcServerOptions extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_MESSAGE_SIZE
The default maximum message size in bytes accepted from a client =
256KB |
Constructor and Description |
---|
GrpcServerOptions() |
GrpcServerOptions(GrpcServerOptions options) |
GrpcServerOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
long |
getMaxMessageSize() |
GrpcServerOptions |
setMaxMessageSize(long maxMessageSize)
Set the maximum message size in bytes accepted from a client, the maximum value is
0xFFFFFFFF |
public static final long DEFAULT_MAX_MESSAGE_SIZE
256KB
public GrpcServerOptions()
public GrpcServerOptions(GrpcServerOptions options)
public GrpcServerOptions(JsonObject json)
public long getMaxMessageSize()
public GrpcServerOptions setMaxMessageSize(long maxMessageSize)
0xFFFFFFFF
maxMessageSize
- the sizeCopyright © 2024 Eclipse. All rights reserved.