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:
parent
e9d1aa2435
commit
e4df3c694f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user