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
5d15e18cbf
commit
96cb879054
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user