@ Override public void addResponseContentLength ( long contentLength ) { if ( contentLength < 0 ) throw new IllegalArgumentException ( ) ; synchronized ( lock ) { if ( this . responseContentLength == - 1 ) this . responseContentLength = contentLength ; else this . responseContentLength += contentLength ; } }
Adds the number of bytes to be expected in the response .