@ConfigurationProperties(value="grpc.server")
public class GrpcServerProperties
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GrpcServerProperties.Security |
| Constructor and Description |
|---|
GrpcServerProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getMaxInboundMessageSize()
Gets the maximum message size in bytes allowed to be received by the server.
|
int |
getPort()
Gets the port the server should listen on.
|
void |
setMaxMessageSize(int maxMessageSize)
Deprecated.
|
public int getPort()
9090. If set to 0 a random available port
will be selected and used.@Deprecated public void setMaxMessageSize(int maxMessageSize)
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.