mirror of https://github.com/grpc/grpc-java.git
netty: finalize maxMessageSize deprecation in NettyChannelBuilder. (#5054)
This commit is contained in:
parent
417c41b6cb
commit
b78036daaa
|
@ -201,17 +201,6 @@ public final class NettyChannelBuilder
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the max message size.
|
|
||||||
*
|
|
||||||
* @deprecated Use {@link #maxInboundMessageSize} instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public NettyChannelBuilder maxMessageSize(int maxMessageSize) {
|
|
||||||
maxInboundMessageSize(maxMessageSize);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the maximum size of header list allowed to be received. This is cumulative size of the
|
* Sets the maximum size of header list allowed to be received. This is cumulative size of the
|
||||||
* headers with some overhead, as defined for
|
* headers with some overhead, as defined for
|
||||||
|
|
Loading…
Reference in New Issue