How to render HTML code from a resource into an overlay window

Dear all,
I would like to fetch HTML code coming from a redirect URL and rednder this in an overlay vaadin window.

Can any one help me here?