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 e9d1aa2435
commit e4df3c694f

View File

@ -65,7 +65,7 @@ public class HttpObjectAggregator
* 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,
* {@link #handleOversizedMessage(ChannelHandlerContext, HttpMessage)}
* will be called.