Class HttpChunkAggregator

    • Field Detail

      • DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS

        public static final int DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS
        See Also:
        Constant Field Values
      • maxContentLength

        private final int maxContentLength
      • tooLongFrameFound

        private boolean tooLongFrameFound
      • maxCumulationBufferComponents

        private int maxCumulationBufferComponents
    • Constructor Detail

      • HttpChunkAggregator

        public HttpChunkAggregator​(int maxContentLength)
        Creates a new instance.
        Parameters:
        maxContentLength - the maximum length of the aggregated content. If the length of the aggregated content exceeds this value, a TooLongFrameException will be raised.