How to get the http servlet response object in vaadin ?

Hi,
Anyone knows how to get the http servlet response in vaadin 7. It may be very simple, but I am sorry, I am new to vaadin.
Also if any one knows how to get the ip address of the system where the vaadin application is running(deployed), please tell me.
Any help would be appreciated,

Thanks,
Kishor