Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #5640
| From | Knorpi <alpineblaster@googlemail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Aw: Re: Aw: Re: HTTP traffic over a custom proxy server? |
| Date | 2011-06-24 06:01 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <c1091835-255d-4d29-b0b3-d6045c31fbf9@glegroupsg2000goo.googlegroups.com> (permalink) |
The htmlunit tip is great! HtmlPage page = webClient.getPage(myURL); This delivers the whole page, fine parsed with the DOM structure. So I assume I can do the following things now: - change all URLs in the document - return the page content as a raw byte stream to the client Well, page.asXml() delivers an XML stream, which is shown as XML code by the browser. I also didn't find anything in the docs. Could you point me into the right direction? Thanks Magnus
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
Aw: Re: Aw: Re: HTTP traffic over a custom proxy server? Knorpi <alpineblaster@googlemail.com> - 2011-06-24 06:01 -0700 Re: Aw: Re: Aw: Re: HTTP traffic over a custom proxy server? Lew <noone@lewscanon.com> - 2011-06-26 14:05 -0400
csiph-web