Add unit to maxContentLength javadoc of HttpObjectAggregator

Motivation:
Not knowing which unit is used for the maxContentLength of the HttpObjectAggregator 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:
Leo Gomes 2015-03-05 14:49:20 +01:00 committed by Norman Maurer
parent 5d15e18cbf
commit 96cb879054

View File

@ -67,7 +67,7 @@ public class HttpObjectAggregator extends MessageToMessageDecoder<HttpObject> {
* Creates a new instance.
*
* @param maxContentLength
* the maximum length of the aggregated content.
* the maximum length of the aggregated content in bytes.
* If the length of the aggregated content exceeds this value,
* a {@link TooLongFrameException} will be raised.
*/