Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Is there a way to get whole servlet response size?



Hi,
I want to log the servlet reponse size. I know there is a getContentLength method to get length of response body, but how to count the length of response headers in?