Add unit to maxContentLength message javadoc
Motivation: Not knowing which unit is returned by the maxContentLength() of the Messageggregator when reading the Javadoc is annoying and can be a source of bugs. Modifications: Added the mention "in bytes" Result: Javadoc is clear.
This commit is contained in:
parent
e4df3c694f
commit
7d19aef945
@ -135,7 +135,7 @@ public abstract class MessageAggregator<I, S, C extends ByteBufHolder, O extends
|
||||
protected abstract boolean isAggregated(I msg) throws Exception;
|
||||
|
||||
/**
|
||||
* Returns the maximum allowed length of the aggregated message.
|
||||
* Returns the maximum allowed length of the aggregated message in bytes.
|
||||
*/
|
||||
public final int maxContentLength() {
|
||||
return maxContentLength;
|
||||
|
Loading…
Reference in New Issue
Block a user