public class GrpcChannelProperties
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GrpcChannelProperties.Security |
Modifier and Type | Field and Description |
---|---|
static GrpcChannelProperties |
DEFAULT |
static java.lang.String |
DEFAULT_HOST |
static java.lang.Integer |
DEFAULT_PORT |
Constructor and Description |
---|
GrpcChannelProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getMaxInboundMessageSize()
Gets the maximum message size in bytes allowed to be received by the channel.
|
public static final java.lang.String DEFAULT_HOST
public static final java.lang.Integer DEFAULT_PORT
public static final GrpcChannelProperties DEFAULT
public java.lang.Integer getMaxInboundMessageSize()
null
) then it
will default to DEFAULT_MAX_MESSAGE_SIZE
. If set to -1
then it
will use Integer.MAX_VALUE
as limit.