As I wrote in other messages, I have a custom widget that implements
IResourceListener.

I override onResourceRequested(). When rendering the resource I need to set
the ContentLength of the response that sends the binary data to the client.
Where is the best place to do it? I have access to
getRequestCycle().getResponse(), but that gives me a Response. I need a
WebResponse.

Do I need to set it in onResourceRequested()? Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-set-HTTP-Header-Content-Length-in-IResourceListener-tp4489832p4489832.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to