netty: finalize maxMessageSize deprecation in NettyChannelBuilder. (#5054)

This commit is contained in:
Jihun Cho 2018-11-13 10:59:15 -08:00 committed by GitHub
parent 417c41b6cb
commit b78036daaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -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